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

This commit is contained in:
Nicholas Ignoffo 2017-05-23 18:53:32 -07:00
parent 2c08d046f8
commit e9ce88fc73

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