diff options
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandworth.java')
-rw-r--r-- | Essentials/src/net/ess3/commands/Commandworth.java | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandworth.java b/Essentials/src/net/ess3/commands/Commandworth.java index 9bf9ca561..bfcb81d81 100644 --- a/Essentials/src/net/ess3/commands/Commandworth.java +++ b/Essentials/src/net/ess3/commands/Commandworth.java @@ -3,6 +3,7 @@ package net.ess3.commands; import java.util.Locale; import static net.ess3.I18n._; import net.ess3.api.IUser; +import net.ess3.utils.FormatUtil; import net.ess3.utils.Util; import org.bukkit.command.CommandSender; import org.bukkit.inventory.ItemStack; @@ -45,14 +46,14 @@ public class Commandworth extends EssentialsCommand ? _("worthMeta", iStack.getType().toString().toLowerCase(Locale.ENGLISH).replace("_", ""), iStack.getDurability(), - Util.displayCurrency(worth * amount, ess), + FormatUtil.displayCurrency(worth * amount, ess), amount, - Util.displayCurrency(worth, ess)) + FormatUtil.displayCurrency(worth, ess)) : _("worth", iStack.getType().toString().toLowerCase(Locale.ENGLISH).replace("_", ""), - Util.displayCurrency(worth * amount, ess), + FormatUtil.displayCurrency(worth * amount, ess), amount, - Util.displayCurrency(worth, ess))); + FormatUtil.displayCurrency(worth, ess))); } @Override @@ -89,14 +90,14 @@ public class Commandworth extends EssentialsCommand ? _("worthMeta", iStack.getType().toString().toLowerCase(Locale.ENGLISH).replace("_", ""), iStack.getDurability(), - Util.displayCurrency(worth * amount, ess), + FormatUtil.displayCurrency(worth * amount, ess), amount, - Util.displayCurrency(worth, ess)) + FormatUtil.displayCurrency(worth, ess)) : _("worth", iStack.getType().toString().toLowerCase(Locale.ENGLISH).replace("_", ""), - Util.displayCurrency(worth * amount, ess), + FormatUtil.displayCurrency(worth * amount, ess), amount, - Util.displayCurrency(worth, ess))); + FormatUtil.displayCurrency(worth, ess))); } } |