2023.03 update 2 / 2

I think we're done!!!
This commit is contained in:
Paul Reilly
2023-03-09 03:50:47 -06:00
parent 2265783afb
commit b7ea1b8b3e
101 changed files with 534 additions and 380 deletions

View File

@ -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())