Update to minecraft version 1.9.4

This commit is contained in:
modmuss50 2016-05-18 16:53:54 +01:00
parent 7d95dea783
commit 74d500a2fd
47 changed files with 176 additions and 151 deletions

View file

@ -127,13 +127,14 @@ public class TileDigitalChest extends TileMachineBase implements IInventoryProvi
}
@Override
public void writeToNBT(NBTTagCompound tagCompound)
public NBTTagCompound writeToNBT(NBTTagCompound tagCompound)
{
super.writeToNBT(tagCompound);
writeToNBTWithoutCoords(tagCompound);
return tagCompound;
}
public void writeToNBTWithoutCoords(NBTTagCompound tagCompound)
public NBTTagCompound writeToNBTWithoutCoords(NBTTagCompound tagCompound)
{
if (storedItem != null)
{
@ -141,6 +142,7 @@ public class TileDigitalChest extends TileMachineBase implements IInventoryProvi
tagCompound.setInteger("storedQuantity", storedItem.stackSize);
} else
tagCompound.setInteger("storedQuantity", 0);
return tagCompound;
}
@Override