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 | 00033c11bce3c1a960bf0d14c81b90ab8462f64a (patch) | |
tree | 7091ee3562dd70ea5b0dcbc4eafc4605c394bd2a | |
parent | c588b78adb79af03089577a10482ffe71934577b (diff) | |
download | Essentials-00033c11bce3c1a960bf0d14c81b90ab8462f64a.tar Essentials-00033c11bce3c1a960bf0d14c81b90ab8462f64a.tar.gz Essentials-00033c11bce3c1a960bf0d14c81b90ab8462f64a.tar.lz Essentials-00033c11bce3c1a960bf0d14c81b90ab8462f64a.tar.xz Essentials-00033c11bce3c1a960bf0d14c81b90ab8462f64a.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; } } |