From f635af5f95d1b9398b7890f217f294607dce7277 Mon Sep 17 00:00:00 2001 From: StevenLawson Date: Wed, 16 Jul 2014 20:41:14 -0400 Subject: [PATCH] Fix error when using /ops purge. --- src/me/StevenLawson/TotalFreedomMod/Commands/Command_ops.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_ops.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_ops.java index 1fc9299..b10dd47 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_ops.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_ops.java @@ -55,7 +55,7 @@ public class Command_ops extends TFM_Command player.setOp(false); if (player.isOnline()) { - playerMsg((Player) player, TotalFreedomMod.YOU_ARE_NOT_OP); + playerMsg(player.getPlayer(), TotalFreedomMod.YOU_ARE_NOT_OP); } } return true;