mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Implement #141 - ability to specify multiple commands (use ; as dilemeter)
This commit is contained in:
1 parent
3acfe39489
commit
a89fc97863
3 files changed
+10
-4
No files matched your search
@@ -211,6 +211,10 @@ public final class Utilities {
|
||||
return false;
|
||||
}
|
||||
|
||||
public static String [] getCommands(String command) {
|
||||
return command.replaceAll("COMMAND\\[", "").replaceAll("]", "").split(";");
|
||||
}
|
||||
|
||||
static {
|
||||
INSTANT_BREAK.add(Material.RED_MUSHROOM);
|
||||
INSTANT_BREAK.add(Material.RED_ROSE);
|
||||
|
||||
Reference in new issue
Block a user