Clean Code

This commit is contained in:
RayzsYT committed 2024-06-09 00:55:07 +02:00
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;