mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-23 01:27:37 +00:00
re remove debug logging
lmao
This commit is contained in:
parent
8866f44aa2
commit
f78edc55d4
@ -7,7 +7,6 @@ import dev.plex.command.blocker.MatchCommand;
|
|||||||
import dev.plex.command.blocker.RegexCommand;
|
import dev.plex.command.blocker.RegexCommand;
|
||||||
import dev.plex.listener.PlexListener;
|
import dev.plex.listener.PlexListener;
|
||||||
import dev.plex.player.PlexPlayer;
|
import dev.plex.player.PlexPlayer;
|
||||||
import dev.plex.util.PlexLog;
|
|
||||||
import dev.plex.util.PlexUtils;
|
import dev.plex.util.PlexUtils;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
@ -64,7 +63,7 @@ public class CommandListener extends PlexListener
|
|||||||
if (isBlocked)
|
if (isBlocked)
|
||||||
{
|
{
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
PlexLog.debug("Command blocked: " + blockedCommand);
|
//PlexLog.debug("Command blocked: " + blockedCommand);
|
||||||
player.sendMessage(PlexUtils.mmDeserialize(blockedCommand.getMessage()));
|
player.sendMessage(PlexUtils.mmDeserialize(blockedCommand.getMessage()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user