diff --git a/src/minecraft/fluidmech/common/pump/TileEntityConstructionPump.java b/src/minecraft/fluidmech/common/pump/TileEntityConstructionPump.java index f472bcca2..d30002ca0 100644 --- a/src/minecraft/fluidmech/common/pump/TileEntityConstructionPump.java +++ b/src/minecraft/fluidmech/common/pump/TileEntityConstructionPump.java @@ -35,10 +35,10 @@ public class TileEntityConstructionPump extends TileEntityElectricityRunnable im public ForgeDirection getFacing(boolean input) { - int meta = MetaGroup.getFacingMeta(worldObj.getBlockMetadata(xCoord, yCoord, zCoord)); + int meta = 0; if (worldObj != null) { - meta = worldObj.getBlockMetadata(xCoord, yCoord, zCoord); + meta = MetaGroup.getFacingMeta(worldObj.getBlockMetadata(xCoord, yCoord, zCoord)); } if (input) {