mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-08-04 05:25:28 +02:00
Fix #1261
This commit is contained in:
@@ -209,7 +209,7 @@ public class PlotListener {
|
||||
PlotGameMode gameMode = player.getGameMode();
|
||||
if (gameMode == PlotGameMode.SURVIVAL || gameMode == PlotGameMode.ADVENTURE) {
|
||||
player.setFlight(false);
|
||||
} else if (player.getFlight() != true) {
|
||||
} else if (!player.getFlight()) {
|
||||
player.setFlight(true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user