We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c437a49 commit 5100adbCopy full SHA for 5100adb
src/tedo0627/redstonecircuit/block/mechanism/BlockHopper.php
@@ -59,7 +59,9 @@ public function onScheduledUpdate(): void {
59
return;
60
}
61
62
- if ($this->ejectItem() || $this->suckItem()) $this->setTransferCooldown(8);
+ $check = $this->ejectItem();
63
+ $check |= $this->suckItem();
64
+ if ($check) $this->setTransferCooldown(8);
65
$this->writeStateToWorld();
66
67
0 commit comments