Consistency fixes (#12)

* Consistency fixes

* Windows users need a batch file
This commit is contained in:
NotMyFault authored and GitHub committed 2020-09-14 18:44:16 +02:00
1 parent bc1d9a0312
commit 0fcf7cc0c9
8 files changed
+91 -11

No files matched your search

@@ -45,13 +45,13 @@ public class NoClipCommand implements ICommand {
if (NoClipManager.noClipPlayerIds.contains(player.getUniqueId())) {
NoClipManager.noClipPlayerIds.remove(player.getUniqueId());
player.sendMessage(Main.MSG_PREFIX + "NoClip " + ChatColor.RED + ChatColor.ITALIC + "Disabled");
player.sendMessage(Main.MSG_PREFIX + "NoClip " + ChatColor.RED + "disabled");
if (player.getGameMode() == GameMode.SPECTATOR) {
player.setGameMode(GameMode.CREATIVE);
}
} else {
NoClipManager.noClipPlayerIds.add(player.getUniqueId());
player.sendMessage(Main.MSG_PREFIX + "NoClip " + ChatColor.GREEN + ChatColor.ITALIC + "Enabled");
player.sendMessage(Main.MSG_PREFIX + "NoClip " + ChatColor.GREEN + "enabled");
}
}
}