storage block retains its items on break

This commit is contained in:
Raoul Van den Berge
2016-01-31 17:11:00 +01:00
parent e6cbbe285b
commit 3df1843a7f
5 changed files with 121 additions and 10 deletions

View File

@@ -283,6 +283,16 @@ public class TileStorage extends TileMachine implements IStorageProvider, IStora
return new NBTStorage(tag, getCapacity(), priority);
}
public NBTTagCompound getStorageTag()
{
return tag;
}
public void setStorageTag(NBTTagCompound tag)
{
this.tag = tag;
}
@Override
public int getPriority()
{