Skip to content

Clear saved fly mode when flight was removed before quitting - #6642

Open
Almost10 wants to merge 1 commit into
EssentialsX:2.xfrom
Almost10:fix/fly-mode-desync
Open

Almost10 wants to merge 1 commit into
EssentialsX:2.xfrom
Almost10:fix/fly-mode-desync

Conversation

@Almost10

@Almost10 Almost10 commented Oct 30, 2026 •

Copy link
Copy Markdown

Information

This PR fixes #6596.

Details

Proposed fix:
If a player in survival or adventure quits without flight, the saved fly mode is cleared so it isn't restored on the next join.

Environments tested:

OS: Windows 11

Java version: 25 (server), 21 (build)

  • Most recent Paper version (26.3, build 231)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:
Before: /fly, /gm 1, /gm 0, rejoin, and flight is back. After: flight stays off. Using /fly and rejoining still keeps flight on.

Before:
ess-before

After:
ess-after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fly mode unexpectedly active after rejoin

1 participant