mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 22:34:21 +00:00
A major load of fixes - things should be about back to normal now.
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user