|
|
|
@ -38,7 +38,7 @@ public class RedstoneLinkTileEntity extends AbstractWireTileEntity {
|
|
|
|
|
RedstoneLinkTile.updateLinkBlockState(true, this.worldObj, this.xCoord, this.yCoord, this.zCoord);
|
|
|
|
|
this.shouldnotremove = false;
|
|
|
|
|
this.isActive = true;
|
|
|
|
|
} else if(inputs[0].floatvalue == 0 && this.isActive && worldObj.blockExists(xCoord, yCoord, zCoord) && worldObj.getBlockId(xCoord, yCoord, zCoord) == WireMod.LinkTileActive.blockID){
|
|
|
|
|
} else if(inputs[0].floatvalue <= 0 && this.isActive && worldObj.blockExists(xCoord, yCoord, zCoord) && worldObj.getBlockId(xCoord, yCoord, zCoord) == WireMod.LinkTileActive.blockID){
|
|
|
|
|
this.shouldnotremove = true;
|
|
|
|
|
RedstoneLinkTile.updateLinkBlockState(false, this.worldObj, this.xCoord, this.yCoord, this.zCoord);
|
|
|
|
|
this.shouldnotremove = false;
|
|
|
|
|