From 1927f49221d9f4a8f3302156a1cb6da08e476e84 Mon Sep 17 00:00:00 2001 From: Driftay Date: Sun, 17 Nov 2019 11:17:08 -0500 Subject: [PATCH] Fixed CmdMoneyBalance ClassCastException --- .../com/massivecraft/factions/cmd/econ/CmdMoneyBalance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/massivecraft/factions/cmd/econ/CmdMoneyBalance.java b/src/main/java/com/massivecraft/factions/cmd/econ/CmdMoneyBalance.java index cde68cd3..f5c70eb5 100644 --- a/src/main/java/com/massivecraft/factions/cmd/econ/CmdMoneyBalance.java +++ b/src/main/java/com/massivecraft/factions/cmd/econ/CmdMoneyBalance.java @@ -39,7 +39,7 @@ public class CmdMoneyBalance extends FCommand { } if (context.fPlayer != null) { - Econ.sendBalanceInfo((CommandSender) context.fPlayer, faction); + Econ.sendBalanceInfo(context.sender, faction); } else { Econ.sendBalanceInfo(context.sender, faction); }