Fixed pipe connection for pump

This commit is contained in:
Rseifert 2013-04-17 15:02:28 -04:00
parent 5eff4fa74a
commit 35d8812742

View file

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