Fix push/pull of energy working while disabled by redstone
This commit is contained in:
parent
504033b65e
commit
259d944d0d
@ -154,7 +154,7 @@ abstract class MatteryDeviceBlockEntity(blockEntityType: BlockEntityType<*>, blo
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun tick() {
|
override fun tick() {
|
||||||
if (energyFlow == FlowDirection.NONE || !automatePull && !automatePush)
|
if (energyFlow == FlowDirection.NONE || !automatePull && !automatePush || redstoneControl.isBlockedByRedstone)
|
||||||
return
|
return
|
||||||
|
|
||||||
neighbour.ifPresentK {
|
neighbour.ifPresentK {
|
||||||
|
Loading…
Reference in New Issue
Block a user