mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-30 20:39:53 -05:00
Clean Code
This commit is contained in:
1 parent
f0bb43fb51
commit
f6ec44691a
1 file changed
+1
-4
@@ -33,15 +33,12 @@ public class BlacklistStorage extends StorageTemplate implements Serializable {
|
||||
if(command.contains(" ")) {
|
||||
split = command.split(" ");
|
||||
if(split.length > 0) command = split[0];
|
||||
command = command.split(" ")[0];
|
||||
}
|
||||
|
||||
if(intensive && command.contains(":")) {
|
||||
split = command.split(":");
|
||||
if(split.length > 0) {
|
||||
|
||||
if(split.length > 0)
|
||||
command = command.replaceFirst(split[0] + ":", "");
|
||||
}
|
||||
}
|
||||
|
||||
return command;
|
||||
|
||||
Reference in new issue
Block a user