mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-08-31 08:49:35 +02:00
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
8e96a75b56
commit
4ba73af883
|
@ -344,6 +344,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