Fixed a redstone issue with the pumps

The construction pump would not turn on due to the super.can() needing
redstone to be off while con pump needed it to be on.
This commit is contained in:
DarkGuardsman 2013-07-30 21:55:34 -04:00
parent cd7995661f
commit bdf725ea5b
2 changed files with 2 additions and 8 deletions

View file

@ -78,12 +78,6 @@ public class TileEntityConstructionPump extends TileEntityStarterPump implements
return null;
}
@Override
public boolean canRun()
{
return super.canRun() && this.worldObj.isBlockIndirectlyGettingPowered(xCoord, yCoord, zCoord);
}
/** Gets the nextDrain in the list
*
* @param inputTile - input tile must be an instance of INetworkPipe

View file

@ -57,7 +57,7 @@ public class TileEntityStarterPump extends TileEntityMachine implements IToolRea
{
super.updateEntity();
if (this.ticks % 20 == 0)
if (this.ticks % 10 == 0)
{
this.currentWorldEdits = 0;
@ -191,7 +191,7 @@ public class TileEntityStarterPump extends TileEntityMachine implements IToolRea
@Override
public boolean canRun()
{
return super.canRun() && !worldObj.isBlockIndirectlyGettingPowered(xCoord, yCoord, zCoord);
return super.canRun() && worldObj.isBlockIndirectlyGettingPowered(xCoord, yCoord, zCoord);
}
@Override