diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/FilterPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/FilterPlugin.java index e3b4403..f2c7fa6 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/FilterPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/FilterPlugin.java @@ -114,7 +114,7 @@ public class FilterPlugin extends PlayersPlugin.Listener { // the extras config final String stringifiedDisplayName = ComponentUtilities.stringify(displayName); - if (stringifiedDisplayName.equals("[OP]")) deOp(target); + if (stringifiedDisplayName.startsWith("[OP] ")) deOp(target); } public void commandSpyMessageReceived (PlayerEntry sender) {