mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-13 02:18:34 +00:00
2023.03 update 2 / 2
I think we're done!!!
This commit is contained in:
@ -60,7 +60,7 @@ public class CommandBlocker extends FreedomService
|
||||
entryList.clear();
|
||||
}
|
||||
|
||||
public void load()
|
||||
public void load() // TODO: Complexity is 21. Need to fix this.
|
||||
{
|
||||
entryList.clear();
|
||||
unknownCommands.clear();
|
||||
@ -147,6 +147,7 @@ public class CommandBlocker extends FreedomService
|
||||
return isCommandBlocked(command, sender, false);
|
||||
}
|
||||
|
||||
// TODO: Complexity is 22. Need to fix this. Complexity can be no more than O(15).
|
||||
public boolean isCommandBlocked(String command, CommandSender sender, boolean doAction)
|
||||
{
|
||||
if (command == null || command.isEmpty())
|
||||
|
Reference in New Issue
Block a user