mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-07 21:13:53 +00:00
Gamemode sign, standard sign permissions.
This commit is contained in:
parent
e4c3f7b115
commit
c0d046841f
3 changed files with 37 additions and 1 deletions
|
@ -38,7 +38,6 @@ public class Commandgamemode extends EssentialsCommand
|
|||
}
|
||||
}
|
||||
player.setGameMode(player.getGameMode() == GameMode.SURVIVAL ? GameMode.CREATIVE : GameMode.SURVIVAL);
|
||||
//TODO: add this to messages?
|
||||
sender.sendMessage(Util.format("gameMode", Util.i18n(player.getGameMode().toString().toLowerCase()), player.getDisplayName()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue