Fix Expulsion whitelist (#1010)

This commit is contained in:
Nicholas Ignoffo 2016-12-30 17:43:02 -08:00
parent c7f2b7d29c
commit b6eae2fc67

View file

@ -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));
} }
} }
} }