mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-02 14:38:47 +00:00
Consistency fixes (#12)
* Consistency fixes * Windows users need a batch file
This commit is contained in:
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user