A major load of fixes - things should be about back to normal now.

This commit is contained in:
Aidan C. Brady committed 2014-06-03 19:54:45 +02:00
1 parent 322301c301
commit 815944c49a
38 files changed
+114 -93

No files matched your search

@@ -96,7 +96,7 @@ public class ItemBlockBasic extends ItemBlock
@Override
public boolean hasContainerItem(ItemStack stack)
{
return stack.getItemDamage() == 6;
return stack.getItemDamage() == 6 && stack.stackTagCompound != null && stack.stackTagCompound.hasKey("newCount");
}
@Override
@@ -125,7 +125,7 @@ public class ItemBlockBasic extends ItemBlock
{
if(stack.getItemDamage() != 6 || stack.stackTagCompound == null || !stack.stackTagCompound.hasKey("newCount"))
{
return ItemProxy.getDead();
return null;
}
}