diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java index 57c6730..4d6d016 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/ChatPlugin.java @@ -86,8 +86,7 @@ public class ChatPlugin extends Bot.Listener { if (playerMessage != null) break; } - PlayerMessage commandSpyMessage; - commandSpyMessage = commandSpyParser.parse(component); + final PlayerMessage commandSpyMessage = commandSpyParser.parse(component); for (Listener listener : listeners) { listener.systemMessageReceived(component);