Small fix I forgot how to understand
This commit is contained in:
parent
f5a9e20b6f
commit
7072b29b28
@ -395,7 +395,11 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
if (!disguiseOptions.isEmpty() && miscId != -1) {
|
if (!disguiseOptions.isEmpty() && miscId != -1) {
|
||||||
String toCheck = "" + miscId;
|
String toCheck = "" + miscId;
|
||||||
if (miscData != -1) {
|
if (miscData == 0 || miscData == -1) {
|
||||||
|
if (!disguiseOptions.contains(toCheck)) {
|
||||||
|
toCheck += ":0";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
toCheck += ":" + miscData;
|
toCheck += ":" + miscData;
|
||||||
}
|
}
|
||||||
if (!disguiseOptions.contains(toCheck)) {
|
if (!disguiseOptions.contains(toCheck)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user