From e19b057bdd5700b2f4084cbb9f2577b427a24910 Mon Sep 17 00:00:00 2001 From: Tomas Slusny Date: Thu, 19 Jul 2018 20:09:51 +0200 Subject: [PATCH] Add support for mod public chat to ChatCommands Without this chat commands were not working because it just exited early for pmods. Signed-off-by: Tomas Slusny --- .../runelite/client/plugins/chatcommands/ChatCommandsPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java index c24b8f0c01..3759bd8cda 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/chatcommands/ChatCommandsPlugin.java @@ -167,6 +167,7 @@ public class ChatCommandsPlugin extends Plugin implements ChatboxInputListener switch (setMessage.getType()) { case PUBLIC: + case PUBLIC_MOD: case CLANCHAT: case PRIVATE_MESSAGE_RECEIVED: case PRIVATE_MESSAGE_SENT: