From 200a856413e98f3f8df1e107a62c9a8e1aec1cf7 Mon Sep 17 00:00:00 2001 From: Lemon Date: Thu, 12 Apr 2018 23:15:16 +0500 Subject: [PATCH] allow admins to see eachothers command's --- .../java/me/totalfreedom/totalfreedommod/CommandSpy.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/CommandSpy.java b/src/main/java/me/totalfreedom/totalfreedommod/CommandSpy.java index d90cf4f1..b78cadd9 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/CommandSpy.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/CommandSpy.java @@ -27,11 +27,6 @@ public class CommandSpy extends FreedomService @EventHandler(priority = EventPriority.MONITOR) public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) { - if (plugin.al.isAdmin(event.getPlayer())) - { - return; - } - for (Player player : server.getOnlinePlayers()) { if (plugin.al.isAdmin(player) && plugin.pl.getPlayer(player).cmdspyEnabled())