fix for command prevention routine (used by territoryEnemyDenyCommands and such) not properly covering commands with uppercase letters in them
This commit is contained in:
parent
f182f70371
commit
ff56162c12
@ -540,6 +540,8 @@ public class FactionsPlayerListener implements Listener
|
||||
if ((Conf.territoryNeutralDenyCommands.isEmpty() && Conf.territoryEnemyDenyCommands.isEmpty() && Conf.permanentFactionMemberDenyCommands.isEmpty()))
|
||||
return false;
|
||||
|
||||
fullCmd = fullCmd.toLowerCase();
|
||||
|
||||
FPlayer me = FPlayers.i.get(player);
|
||||
|
||||
String shortCmd; // command without the slash at the beginning
|
||||
|
Loading…
Reference in New Issue
Block a user