mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Fix #522 Redstone signals should disable Forestry's powered machines
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user