forked from ChomeNS/chomens-bot-java
fix
This commit is contained in:
parent
1f177de955
commit
2ce04cff2b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue