Fixed liquid id.

This commit is contained in:
CovertJaguar 2012-07-14 07:37:31 -07:00
parent 18ba26eff2
commit 74d4be1b11

View file

@ -97,7 +97,7 @@ public class BlockTank extends BlockContainer implements ITextureProvider {
TileTank tank = (TileTank) world.getBlockTileEntity(i, j, k);
if (liquid != null) {
int qty = tank.fill(Orientations.Unknown, liquid.amount, liquidId, true);
int qty = tank.fill(Orientations.Unknown, liquid.amount, liquid.itemID, true);
if (qty != 0 && !BuildCraftCore.debugMode) {
entityplayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem,