Properly block dangerous /wildcard commands

This commit is contained in:
Jerom van der Sar 2016-08-27 17:34:42 +02:00 committed by GitHub
parent 1e47d29adf
commit 2ff66ad54b

View File

@ -39,6 +39,7 @@ public class Command_wildcard extends FreedomCommand
if (BLOCKED_COMMANDS.contains(runCmd.getName()))
{
msg("Did you really think that was going to work?", ChatColor.RED);
return true;
}
String baseCommand = StringUtils.join(args, " ");