diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandgamemode.java b/Essentials/src/com/earth2me/essentials/commands/Commandgamemode.java index 2783c6bfc..06a6b900d 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandgamemode.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandgamemode.java @@ -89,7 +89,7 @@ public class Commandgamemode extends EssentialsCommand { // essentials.gamemode will let them change to any but essentials.gamemode.survival would only let them change to survival. private boolean canChangeToMode(Player player, GameMode to) { - return player.hasPermission("essentials.gamemode") || player.hasPermission("essentials.gamemode." + to.name().toLowerCase()); + return player.hasPermission("essentials.gamemode.all") || player.hasPermission("essentials.gamemode." + to.name().toLowerCase()); } private GameMode matchGameMode(String modeString) throws NotEnoughArgumentsException {