diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-03-25 14:26:08 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-03-25 14:26:08 +0100 |
commit | 53a8cdd6a1028ba5910e8bd950f0635d78eeb6d4 (patch) | |
tree | af77ce6be2946c698e3b9ef834bfba103bd660ad | |
parent | 0eebb07de4ac104f6fb6e635c236c20674c3bb56 (diff) | |
download | Essentials-53a8cdd6a1028ba5910e8bd950f0635d78eeb6d4.tar Essentials-53a8cdd6a1028ba5910e8bd950f0635d78eeb6d4.tar.gz Essentials-53a8cdd6a1028ba5910e8bd950f0635d78eeb6d4.tar.lz Essentials-53a8cdd6a1028ba5910e8bd950f0635d78eeb6d4.tar.xz Essentials-53a8cdd6a1028ba5910e8bd950f0635d78eeb6d4.zip |
Update [balance] sign to use currency formatting.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/signs/SignBalance.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/signs/SignBalance.java b/Essentials/src/com/earth2me/essentials/signs/SignBalance.java index 0b7328ba5..4949cb645 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignBalance.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignBalance.java @@ -3,6 +3,7 @@ package com.earth2me.essentials.signs; import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.IEssentials; import com.earth2me.essentials.User; +import com.earth2me.essentials.Util; public class SignBalance extends EssentialsSign @@ -15,7 +16,7 @@ public class SignBalance extends EssentialsSign @Override protected boolean onSignInteract(final ISign sign, final User player, final String username, final IEssentials ess) throws SignException { - player.sendMessage(_("balance", player.getMoney())); + player.sendMessage(_("balance", Util.displayCurrency(player.getMoney(), ess))); return true; } } |