Fix #522 Redstone signals should disable Forestry's powered machines

This commit is contained in:
mezz committed 2015-06-22 21:31:40 -07:00
1 parent 55ee53583c
commit 306ba82848
1 file changed
+1 -2
@@ -59,8 +59,7 @@ public abstract class TilePowered extends TileBase implements IRenderableMachine
protected void updateServerSide() {
super.updateServerSide();
// Disable powered machines on a direct redstone signal
boolean disabled = (worldObj.getBlockPowerInput(xCoord, yCoord, zCoord) >= 15);
boolean disabled = isRedstoneActivated();
setErrorCondition(disabled, EnumErrorCode.DISABLED);
if (disabled) {
return;