Fixed capacity on tank being reset when tile was reloaded (#1138)
This commit is contained in:
parent
2c08d046f8
commit
e9ce88fc73
|
@ -34,6 +34,7 @@ public class TileBloodTank extends TileBase
|
|||
super.deserialize(tagCompound);
|
||||
tank.readFromNBT(tagCompound.getCompoundTag(Constants.NBT.TANK));
|
||||
capacity = tagCompound.getInteger(Constants.NBT.ALTAR_CAPACITY);
|
||||
tank.setCapacity(capacity);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue