diff --git a/src/main/java/dev/plex/listener/impl/CommandListener.java b/src/main/java/dev/plex/listener/impl/CommandListener.java index 68bc3d7..7672858 100644 --- a/src/main/java/dev/plex/listener/impl/CommandListener.java +++ b/src/main/java/dev/plex/listener/impl/CommandListener.java @@ -64,7 +64,7 @@ public class CommandListener extends PlexListener { event.setCancelled(true); //PlexLog.debug("Command blocked."); - player.sendMessage(PlexUtils.mmDeserialize(PlexUtils.messageString("blockedCommandColor") + blockedCommand.getMessage())); + player.sendMessage(PlexUtils.mmDeserialize(blockedCommand.getMessage())); return; } } diff --git a/src/main/resources/commands.yml b/src/main/resources/commands.yml index 79d17e9..2761305 100644 --- a/src/main/resources/commands.yml +++ b/src/main/resources/commands.yml @@ -16,6 +16,6 @@ # - "m:e:mail sendall:You cannot send messages to everyone on the server" # - "r:e:^[^ :]+::Plugin specific commands are disabled" blockedCommands: - - "r:e:^[^ :]+::Plugin specific commands are disabled." - - "m:e:mail sendall:You cannot send messages to everyone on the server." - - "m:e:mail sendtempall:You cannot send messages to everyone on the server." \ No newline at end of file + - "r:e:^[^ :]+::Plugin specific commands are disabled." + - "m:e:mail sendall:You cannot send messages to everyone on the server." + - "m:e:mail sendtempall:You cannot send messages to everyone on the server." \ No newline at end of file diff --git a/src/main/resources/messages.yml b/src/main/resources/messages.yml index 2894798..c6e410c 100644 --- a/src/main/resources/messages.yml +++ b/src/main/resources/messages.yml @@ -167,8 +167,7 @@ removedMobs: "{0} - Removed {1} mobs" autoWipeDisabled: "Item wiping is currently disabled in the config!" allowDropsDisabled: "No longer allowing drops from players." allowDropsEnabled: "Now allowing drops from players." -blockedCommandColor: "" -commandBlocked: "That command is blocked." +commandBlocked: "That command is blocked." # 0 - The command sender # 1 - The message being said sayCommand: "[Server: {0}] {1}" \ No newline at end of file