diff --git a/forestry_common/storage/forestry/storage/BackpackDefinition.java b/forestry_common/storage/forestry/storage/BackpackDefinition.java index d8f37c586..d509521c1 100755 --- a/forestry_common/storage/forestry/storage/BackpackDefinition.java +++ b/forestry_common/storage/forestry/storage/BackpackDefinition.java @@ -72,7 +72,7 @@ public class BackpackDefinition implements IBackpackDefinition { @Override public boolean isValidItem(EntityPlayer player, ItemStack itemstack) { for (ItemStack stack : getValidItems(player)) - if (stack != null) { + if (stack != null && stack.getItem() != null ) { if (stack.getItemDamage() == Defaults.WILDCARD) { if (stack.getItem() == itemstack.getItem()) return true;