mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-15 15:28:36 +01:00
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) {
|
||||
String toCheck = "" + miscId;
|
||||
if (miscData != -1) {
|
||||
if (miscData == 0 || miscData == -1) {
|
||||
if (!disguiseOptions.contains(toCheck)) {
|
||||
toCheck += ":0";
|
||||
}
|
||||
} else {
|
||||
toCheck += ":" + miscData;
|
||||
}
|
||||
if (!disguiseOptions.contains(toCheck)) {
|
||||
|
Loading…
Reference in New Issue
Block a user