fix NPE in armorextended

This commit is contained in:
Zach committed 2014-03-07 16:09:24 -05:00
1 parent ad67a78845
commit 9d5fc07c04
1 file changed
+3
@@ -246,6 +246,8 @@ public class ArmorExtended implements IInventory
public void readFromNBT (NBTTagCompound tagCompound)
{
if(tagCompound != null)
{
NBTTagList tagList = tagCompound.getTagList("Inventory", 10);
for (int i = 0; i < tagList.tagCount(); ++i)
{
@@ -259,6 +261,7 @@ public class ArmorExtended implements IInventory
}
}
}
}
public void dropItems(ArrayList<EntityItem> drops)
{