Update to minecraft version 1.9.4
This commit is contained in:
parent
7d95dea783
commit
74d500a2fd
47 changed files with 176 additions and 151 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue