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,10 +45,10 @@ public class NightVisionCommand implements ICommand {
if (player.hasPotionEffect(PotionEffectType.NIGHT_VISION)) {
player.removePotionEffect(PotionEffectType.NIGHT_VISION);
player.sendMessage(Main.MSG_PREFIX + "Night Vision " + ChatColor.RED + ChatColor.ITALIC + "Disabled");
player.sendMessage(Main.MSG_PREFIX + "Night Vision " + ChatColor.RED + "disabled");
} else {
player.addPotionEffect(new PotionEffect(PotionEffectType.NIGHT_VISION, Integer.MAX_VALUE, 0, true, false));
player.sendMessage(Main.MSG_PREFIX + "Night Vision " + ChatColor.GREEN + ChatColor.ITALIC + "Enabled");
player.sendMessage(Main.MSG_PREFIX + "Night Vision " + ChatColor.GREEN + "enabled");
}
}
}