This commit is contained in:
boy0001 2015-08-07 09:30:08 +10:00
parent 845aab5937
commit 1f2cf4b9cc

View File

@ -201,12 +201,16 @@ public class BukkitPlayer extends PlotPlayer {
switch (gamemode) {
case ADVENTURE:
player.setGameMode(GameMode.ADVENTURE);
return;
case CREATIVE:
player.setGameMode(GameMode.CREATIVE);
return;
case SPECTATOR:
player.setGameMode(GameMode.SPECTATOR);
return;
case SURVIVAL:
player.setGameMode(GameMode.SURVIVAL);
return;
}
}