diff options
Diffstat (limited to 'Essentials/src/net/ess3/commands/Commandbalancetop.java')
-rw-r--r-- | Essentials/src/net/ess3/commands/Commandbalancetop.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/net/ess3/commands/Commandbalancetop.java b/Essentials/src/net/ess3/commands/Commandbalancetop.java index de952eb20..e97e3b514 100644 --- a/Essentials/src/net/ess3/commands/Commandbalancetop.java +++ b/Essentials/src/net/ess3/commands/Commandbalancetop.java @@ -9,7 +9,7 @@ import java.text.DateFormat; import java.util.*; import java.util.Map.Entry; import java.util.concurrent.locks.ReentrantReadWriteLock; -import net.ess3.api.server.CommandSender; +import org.bukkit.command.CommandSender; public class Commandbalancetop extends EssentialsCommand @@ -111,7 +111,7 @@ public class Commandbalancetop extends EssentialsCommand final double userMoney = user.getMoney(); user.updateMoneyCache(userMoney); totalMoney += userMoney; - balances.put(user.getDisplayName(), userMoney); + balances.put(user.getPlayer().getDisplayName(), userMoney); } } |