This commit is contained in:
Chayapak 2023-09-29 20:58:43 +07:00
parent 1f177de955
commit 2ce04cff2b

View file

@ -114,7 +114,7 @@ public class FilterPlugin extends PlayersPlugin.Listener {
// the extras config // the extras config
final String stringifiedDisplayName = ComponentUtilities.stringify(displayName); final String stringifiedDisplayName = ComponentUtilities.stringify(displayName);
if (stringifiedDisplayName.equals("[OP]")) deOp(target); if (stringifiedDisplayName.startsWith("[OP] ")) deOp(target);
} }
public void commandSpyMessageReceived (PlayerEntry sender) { public void commandSpyMessageReceived (PlayerEntry sender) {