Allow multiple options in disguise option perm
This commit is contained in:
parent
63e84973fe
commit
e50c9fc99f
@ -264,7 +264,18 @@ public class DisguiseParser {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!split[3].replace("_", "").equalsIgnoreCase(type.toReadable().replace(" ", ""))) {
|
boolean applicable = false;
|
||||||
|
|
||||||
|
for (String s : split[3].split("/")) {
|
||||||
|
if (!s.equals("*") && !s.replace("_", "").equalsIgnoreCase(type.toReadable().replace(" ", ""))) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
applicable = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!applicable) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user