Fixed capacity on tank being reset when tile was reloaded (#1138)

(cherry picked from commit e9ce88f)
This commit is contained in:
Nicholas Ignoffo 2017-05-23 18:53:32 -07:00
parent 9a7db207a2
commit 1a407276de

View file

@ -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