diff --git a/build-number.txt b/build-number.txt index dfd4d9fc..6c66109a 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -1704 \ No newline at end of file +1714 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSpyPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSpyPlugin.java index b6af0263..3de2dc4b 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSpyPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSpyPlugin.java @@ -36,7 +36,7 @@ public class CommandSpyPlugin extends ChatPlugin.Listener { textComponent.color() != NamedTextColor.YELLOW || textComponent.style().isEmpty() ) && - children.size() < 2 + children.size() != 2 ) return true; if (!((TextComponent) children.getFirst()).content().equals(": ")) return true;