mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-06-09 16:44:56 +00:00
Properly block dangerous /wildcard commands
This commit is contained in:
parent
1e47d29adf
commit
2ff66ad54b
|
@ -39,6 +39,7 @@ public class Command_wildcard extends FreedomCommand
|
||||||
if (BLOCKED_COMMANDS.contains(runCmd.getName()))
|
if (BLOCKED_COMMANDS.contains(runCmd.getName()))
|
||||||
{
|
{
|
||||||
msg("Did you really think that was going to work?", ChatColor.RED);
|
msg("Did you really think that was going to work?", ChatColor.RED);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
String baseCommand = StringUtils.join(args, " ");
|
String baseCommand = StringUtils.join(args, " ");
|
||||||
|
|
Loading…
Reference in a new issue