Fixed pipe connection for pump
This commit is contained in:
parent
5eff4fa74a
commit
35d8812742
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue