Fix TimeCommand
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
3a5ef0bac8
Commit
5932317f77
@ -40,6 +40,10 @@ public class GamemodeCommand extends SWCommand {
|
||||
|
||||
@Register
|
||||
public void genericCommand(final Player p) {
|
||||
if (NoClipCommand.getNOCLIPS().contains(p)) {
|
||||
p.performCommand("noclip");
|
||||
return;
|
||||
}
|
||||
if (p.getGameMode() == GameMode.CREATIVE) {
|
||||
p.setGameMode(GameMode.SPECTATOR);
|
||||
} else {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren