Separation of FeatherFly from Creative/Spectator Fly:
FeatherFly is now disabled when switching to Creative or Spectator mode, but the native fly provided by these game modes remains unaffected. Players will still be able to fly natively in these modes without needing FeatherFly.
Improvements:
Game Mode Change Detection:
When players switch to Creative or Spectator mode, FeatherFly is automatically disabled to avoid conflicts, while ensuring native flight remains enabled.
Added handling for PlayerGameModeChangeEvent to monitor game mode changes and ensure FeatherFly only operates in Survival and Adventure modes.
Bug Fixes:
Flight Speed Consistency:
Ensured that flight speed is correctly restored after reconnecting, switching worlds, or re-enabling FeatherFly. This prevents cases where flight speed was not correctly applied.