Fixed capacity on tank being reset when tile was reloaded (#1138)
(cherry picked from commit e9ce88f
)
This commit is contained in:
parent
9a7db207a2
commit
1a407276de
|
@ -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