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