diff --git a/li/cil/oc/common/tileentity/BundledRedstoneAware.scala b/li/cil/oc/common/tileentity/BundledRedstoneAware.scala index 460e68fe4..f7f5424f0 100644 --- a/li/cil/oc/common/tileentity/BundledRedstoneAware.scala +++ b/li/cil/oc/common/tileentity/BundledRedstoneAware.scala @@ -29,7 +29,7 @@ trait BundledRedstoneAware extends RedstoneAware with IBundledEmitter with IBund override def isOutputEnabled_=(value: Boolean) = { if (value != isOutputEnabled) { - if (!isOutputEnabled) { + if (!value) { for (i <- 0 until _bundledOutput.length) { for (j <- 0 until _bundledOutput(i).length) { _bundledOutput(i)(j) = 0 diff --git a/li/cil/oc/common/tileentity/RedstoneAware.scala b/li/cil/oc/common/tileentity/RedstoneAware.scala index aaad9bba5..4af0585ca 100644 --- a/li/cil/oc/common/tileentity/RedstoneAware.scala +++ b/li/cil/oc/common/tileentity/RedstoneAware.scala @@ -31,7 +31,7 @@ trait RedstoneAware extends RotationAware with network.Environment with Persista def isOutputEnabled_=(value: Boolean) = { if (value != isOutputEnabled) { _isOutputEnabled = value - if (!isOutputEnabled) { + if (!value) { for (i <- 0 until _output.length) { _output(i) = 0 }