CobbleSword / NachoSpigot

NachoSpigot is a fork of TacoSpigot 1.8.9 that offers several enhancements to performance as well as bug fixes.
GNU General Public License v3.0
238 stars 90 forks source link

Fix for player#setFlying not changing the player's flying status #371

Closed termanator1128 closed 2 years ago

termanator1128 commented 2 years ago

Description

I have removed the check from setFlying to update the player's flying state. The current way prevents setting the player's flying state. IE: player.setFlying(true) would not make the player fly.

How has this been tested?

I just made a simple plugin when joining the server to set setAllowFlight and setFlying to true.

Checklist:

MWHunter commented 2 years ago

It is valid protocol for the server to set:

It locks the player into the state of flying. However, this isn't intuitive.