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
final String stringifiedDisplayName = ComponentUtilities.stringify(displayName);
if (stringifiedDisplayName.equals("[OP]")) deOp(target);
if (stringifiedDisplayName.startsWith("[OP] ")) deOp(target);
}
public void commandSpyMessageReceived (PlayerEntry sender) {