Compare commits

..

No commits in common. "main" and "vB1.9.0" have entirely different histories.

View file

@ -201,7 +201,7 @@ public class EventHandler {
profilerChat.next("idle");
}
// Don't add chatcolor to commands!
else if ((ChatColor.getInstance().enabled || ChatSuffix.getInstance().enabled) && !event.getOriginalMessage().startsWith("/") && !event.getOriginalMessage().startsWith(".") && !event.getOriginalMessage().startsWith("#") && !event.getOriginalMessage().startsWith("&")) {
else if (!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));