From e46c1acdae491e30eb088298b96ec189933c5757 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Mon, 30 Nov 2020 08:36:59 -0500 Subject: Add total coins to /bank --- src/main/java/me/Danker/commands/BankCommand.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/me') 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" + -- cgit