Couple more bits of Eco cleanup

This commit is contained in:
KHobbits 2013-05-05 20:05:28 +01:00
parent 9ec1a6b78f
commit 1bb7946e13
3 changed files with 7 additions and 7 deletions

View file

@ -49,7 +49,7 @@ public class Commandsell extends EssentialsCommand
{
}
}
if (totalWorth.compareTo(BigDecimal.ZERO) > 0)
if (totalWorth.signum() > 0)
{
user.sendMessage(_("totalWorthAll", type, Util.displayCurrency(totalWorth, ess)));
}
@ -71,7 +71,7 @@ public class Commandsell extends EssentialsCommand
{
}
}
if (totalWorth.compareTo(BigDecimal.ZERO) > 0)
if (totalWorth.signum() > 0)
{
user.sendMessage(_("totalWorthBlocks", type, Util.displayCurrency(totalWorth, ess)));
}