Skip to content

fix(fly): persist fly mode and restore on join#6403

Open
Touchie771 wants to merge 1 commit intoEssentialsX:2.xfrom
Touchie771:fly-persistence
Open

fix(fly): persist fly mode and restore on join#6403
Touchie771 wants to merge 1 commit intoEssentialsX:2.xfrom
Touchie771:fly-persistence

Conversation

@Touchie771
Copy link

Persist /fly state in userdata and re-enable allowFlight on login so flight isn’t lost after relogging on ground (upstream #6344).

Information

This PR fixes #6344

Details

Proposed fix:

Persist the /fly state to userdata and restore allowFlight on login so flight isn’t lost after relogging while on the ground.

Environments tested:

OS: Ubuntu 24.04

Java version: 21

  • Most recent Paper version (1.XX.Y, git-Paper-BUILD)
  • Paper 1.21.8
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Persist /fly state in userdata and re-enable allowFlight on login so flight isn’t lost after relogging on ground (upstream EssentialsX#6344).
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.

Exit the game standing on the ground, then your flight mode disabled.

1 participant