diff --git a/com/Acrobot/ChestShop/Listeners/PreShopCreation/PermissionChecker.java b/com/Acrobot/ChestShop/Listeners/PreShopCreation/PermissionChecker.java index 009dca0..ca9cac6 100644 --- a/com/Acrobot/ChestShop/Listeners/PreShopCreation/PermissionChecker.java +++ b/com/Acrobot/ChestShop/Listeners/PreShopCreation/PermissionChecker.java @@ -33,8 +33,7 @@ public class PermissionChecker implements Listener { ItemStack item = MaterialUtil.getItem(itemLine); - if (!Permission.has(player, SHOP_CREATION_ID + Integer.toString(item.getTypeId()))) { - event.setOutcome(NO_PERMISSION); + if (item == null || Permission.has(player, SHOP_CREATION_ID + Integer.toString(item.getTypeId()))) { return; }