Essentials is resetting flight state of player on world change despite world-change-fly-reset: false
being set.
#4745
Labels
status: duplicate
Duplicate of another ticket.
Type of bug
Other unexpected behaviour
/ess dump all
outputhttps://essentialsx.net/dump.html?id=c16c39d3d15c4448859595b2cf2d0d2a
Error log (if applicable)
No response
Bug description
Essentials is resetting flight state of player on world change despite
world-change-fly-reset: false
being set.Steps to reproduce
/fly
./world
./fly
.This only seems to affect survival gamemode. Changing worlds in creative, fly still works fine.
Expected behaviour
Flight state to persist across world change.
Actual behaviour
Flight state resets on world change while in survival.
https://github.com/EssentialsX/Essentials/blob/2.x/Essentials/src/main/java/com/earth2me/essentials/EssentialsPlayerListener.java#L691-L721
I have also tested this with LuckPerms and the player having the
essentials.fly
permission. This minimal test environment of no other plugins and just Paper came about when trying to diagnose why players on my main server kept complaining about fly state in survival resetting on every world change / teleport back to spawn.The text was updated successfully, but these errors were encountered: