This commit is contained in:
Bysokar 2019-07-28 07:57:26 +10:00
parent 25115a4709
commit 9e0f71dae4

View file

@ -85,7 +85,7 @@ public class InventoryPersonalChest extends InventoryBasic
return;
}
if (!(getStack().getItem() instanceof ISustainedInventory)) return;
if (getStack() != null && !(getStack().getItem() instanceof ISustainedInventory)) return;
reading = true;
NBTTagList tagList = ((ISustainedInventory)getStack().getItem()).getInventory(getStack());