mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-02 06:28:53 +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,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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user