1
0
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:
md_5
2012-03-24 10:37:11 +11:00
parent dc4ca6386f
commit 2566d8a0db

View File

@@ -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