mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-09 22:20:47 +02:00
Fix flying when not in creative mode
This commit is contained in:
@@ -133,7 +133,7 @@ public class NoCheatPlayerImpl implements NoCheatPlayer
|
||||
|
||||
public boolean isCreative()
|
||||
{
|
||||
return player.getGameMode() == GameMode.CREATIVE;
|
||||
return player.getGameMode() == GameMode.CREATIVE || player.getAllowFlight();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user