Fixed CmdMoneyBalance ClassCastException

This commit is contained in:
Driftay 2019-11-17 11:17:08 -05:00
parent 9349a914ce
commit 1927f49221

View File

@ -39,7 +39,7 @@ public class CmdMoneyBalance extends FCommand {
} }
if (context.fPlayer != null) { if (context.fPlayer != null) {
Econ.sendBalanceInfo((CommandSender) context.fPlayer, faction); Econ.sendBalanceInfo(context.sender, faction);
} else { } else {
Econ.sendBalanceInfo(context.sender, faction); Econ.sendBalanceInfo(context.sender, faction);
} }