Fixed CmdMoneyBalance ClassCastException
This commit is contained in:
parent
9349a914ce
commit
1927f49221
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user