storage block retains its items on break
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user