Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
6f1368f6fc |
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ public class EventHandler {
|
|||
profilerChat.next("idle");
|
||||
}
|
||||
// Don't add chatcolor to commands!
|
||||
else if (!event.getOriginalMessage().startsWith("/") && !event.getOriginalMessage().startsWith(".") && !event.getOriginalMessage().startsWith("#")) {
|
||||
else if ((ChatColor.getInstance().enabled || ChatSuffix.getInstance().enabled) && !event.getOriginalMessage().startsWith("/") && !event.getOriginalMessage().startsWith(".") && !event.getOriginalMessage().startsWith("#") && !event.getOriginalMessage().startsWith("&")) {
|
||||
profilerChat.next("command");
|
||||
event.setCanceled(true);
|
||||
TTCp.player.sendChatMessage(ChatColor.getInstance().get() + event.getMessage() + ChatSuffix.getInstance().get(ChatSuffix.getInstance().chance));
|
||||
|
|
Loading…
Reference in a new issue