Fix Expulsion whitelist (#1010)

(cherry picked from commit b6eae2f)
This commit is contained in:
Nicholas Ignoffo 2016-12-30 17:43:02 -08:00
parent 91a900d84e
commit f3f1dfb08a

View file

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