diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-07-19 23:28:40 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-07-19 23:28:40 -0400 |
commit | 34234ac4f58c66c3910e635aaaad60ebf08e9b00 (patch) | |
tree | 89d86903bca481341568ef66724b43fde9e51e1e /me/Danker/commands/LootCommand.java | |
parent | 6d60add1ed86653cbb4950b59a642df7b074cd5b (diff) | |
download | SkyblockMod-34234ac4f58c66c3910e635aaaad60ebf08e9b00.tar.gz SkyblockMod-34234ac4f58c66c3910e635aaaad60ebf08e9b00.tar.bz2 SkyblockMod-34234ac4f58c66c3910e635aaaad60ebf08e9b00.zip |
Add /skills command, fix /loot commandv1.5.2
Also adds dashes to /slayer command.
Diffstat (limited to 'me/Danker/commands/LootCommand.java')
-rw-r--r-- | me/Danker/commands/LootCommand.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/me/Danker/commands/LootCommand.java b/me/Danker/commands/LootCommand.java index 046c729..9beec87 100644 --- a/me/Danker/commands/LootCommand.java +++ b/me/Danker/commands/LootCommand.java @@ -113,7 +113,7 @@ public class LootCommand extends CommandBase { if (wolfBosses == -1) { bossesBetween = "Never"; } else { - bossesBetween = Integer.toString(wolfBosses); + bossesBetween = NumberFormat.getIntegerInstance().format(wolfBosses); } player.addChatMessage(new ChatComponentText(EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" + @@ -128,7 +128,7 @@ public class LootCommand extends CommandBase { EnumChatFormatting.AQUA + " Grizzly Baits: " + wolfBaits + "\n" + EnumChatFormatting.DARK_PURPLE + " Overfluxes: " + wolfFluxes + "\n" + EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" + - EnumChatFormatting.AQUA + " Bosses Since RNG: " + NumberFormat.getIntegerInstance().format(bossesBetween) + "\n" + + EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" + EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + " -------------------")); } else if (arg1[0].equalsIgnoreCase("spider")) { if (spiderTime == -1) { @@ -139,7 +139,7 @@ public class LootCommand extends CommandBase { if (spiderBosses == -1) { bossesBetween = "Never"; } else { - bossesBetween = Integer.toString(spiderBosses); + bossesBetween = NumberFormat.getIntegerInstance().format(spiderBosses); } player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "" + EnumChatFormatting.BOLD + "-------------------\n" + @@ -154,7 +154,7 @@ public class LootCommand extends CommandBase { EnumChatFormatting.LIGHT_PURPLE + " Fly Swatters: " + spiderSwatters + "\n" + EnumChatFormatting.GOLD + " Digested Mosquitos: " + spiderMosquitos + "\n" + EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" + - EnumChatFormatting.AQUA + " Bosses Since RNG: " + NumberFormat.getIntegerInstance().format(bossesBetween) + "\n" + + EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" + EnumChatFormatting.RED + "" + EnumChatFormatting.BOLD + " -------------------")); } else if (arg1[0].equalsIgnoreCase("zombie")) { if (zombieTime == -1) { @@ -165,7 +165,7 @@ public class LootCommand extends CommandBase { if (zombieBosses == -1) { bossesBetween = "Never"; } else { - bossesBetween = Integer.toString(zombieBosses); + bossesBetween = NumberFormat.getIntegerInstance().format(zombieBosses); } player.addChatMessage(new ChatComponentText(EnumChatFormatting.GREEN + "" + EnumChatFormatting.BOLD + "-------------------\n" + @@ -181,7 +181,7 @@ public class LootCommand extends CommandBase { EnumChatFormatting.DARK_GREEN + " Snake Runes: " + zombieSnakes + "\n" + EnumChatFormatting.GOLD + " Scythe Blades: " + zombieScythes + "\n" + EnumChatFormatting.AQUA + " Time Since RNG: " + timeBetween + "\n" + - EnumChatFormatting.AQUA + " Bosses Since RNG: " + NumberFormat.getIntegerInstance().format(bossesBetween) + "\n" + + EnumChatFormatting.AQUA + " Bosses Since RNG: " + bossesBetween + "\n" + EnumChatFormatting.GREEN + "" + EnumChatFormatting.BOLD + " -------------------")); } else { player.addChatMessage(new ChatComponentText(EnumChatFormatting.RED + "Usage: /loot [zombie/spider/wolf]")); |