mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-07-27 16:01:37 +00:00
allow admins to see eachothers command's
This commit is contained in:
parent
b402987e41
commit
200a856413
1 changed files with 0 additions and 5 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue