Fix Expulsion whitelist (#1010)
This commit is contained in:
parent
c7f2b7d29c
commit
b6eae2fc67
|
@ -76,7 +76,7 @@ public class RitualExpulsion extends Ritual
|
|||
{
|
||||
IBindable bindable = (IBindable) itemStack.getItem();
|
||||
if (!Strings.isNullOrEmpty(bindable.getOwnerName(itemStack)) && !allowedNames.contains(bindable.getOwnerName(itemStack)))
|
||||
allowedNames.add(bindable.getOwnerName(itemStack));
|
||||
allowedNames.add(bindable.getOwnerUUID(itemStack));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue