aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-11-30 08:36:59 -0500
committerbowser0000 <bowser0000@gmail.com>2020-11-30 08:36:59 -0500
commite46c1acdae491e30eb088298b96ec189933c5757 (patch)
tree9693d90beafe81aa2489e823338dca42a55681d9 /src/main
parent7091007cdd4f214ab47d1fb18c951eb25cb67852 (diff)
downloadSkyblockMod-e46c1acdae491e30eb088298b96ec189933c5757.tar.gz
SkyblockMod-e46c1acdae491e30eb088298b96ec189933c5757.tar.bz2
SkyblockMod-e46c1acdae491e30eb088298b96ec189933c5757.zip
Add total coins to /bank
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/me/Danker/commands/BankCommand.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/BankCommand.java b/src/main/java/me/Danker/commands/BankCommand.java
index 6e2ddaa..fa7641d 100644
--- a/src/main/java/me/Danker/commands/BankCommand.java
+++ b/src/main/java/me/Danker/commands/BankCommand.java
@@ -101,6 +101,7 @@ public class BankCommand extends CommandBase {
EnumChatFormatting.AQUA + " " + username + "'s Coins:\n" +
TheMod.TYPE_COLOUR + " Bank: " + EnumChatFormatting.GOLD + nf.format(bankCoins) + "\n" +
TheMod.TYPE_COLOUR + " Purse: " + EnumChatFormatting.GOLD + nf.format(purseCoins) + "\n" +
+ TheMod.TYPE_COLOUR + " Total: " + EnumChatFormatting.GOLD + nf.format(bankCoins + purseCoins) + "\n" +
TheMod.DELIMITER_COLOUR + " " + EnumChatFormatting.BOLD + "-------------------"));
} else {
player.addChatMessage(new ChatComponentText(TheMod.DELIMITER_COLOUR + "" + EnumChatFormatting.BOLD + "-------------------\n" +