Commit af710f2 1 parent f0887a8 commit af710f2 Copy full SHA for af710f2
File tree 1 file changed +2
-0
lines changed
src/tedo0627/redstonecircuit/block/mechanism
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ private function push(): bool {
160
160
if ($ moving instanceof BlockMoving) $ moving ->setMovingBlock ($ block , $ tile );
161
161
$ world ->setBlock ($ side ->getPosition (), $ moving );
162
162
$ world ->setBlock ($ block ->getPosition (), VanillaBlocks::AIR ());
163
+ BlockUpdateHelper::updateAroundRedstone ($ block );
163
164
}
164
165
$ this ->setState (1 );
165
166
$ side = $ this ->getSide ($ face );
@@ -239,6 +240,7 @@ private function pull(): bool {
239
240
if ($ moving instanceof BlockMoving) $ moving ->setMovingBlock ($ block , $ tile );
240
241
$ world ->setBlock ($ side ->getPosition (), $ moving );
241
242
$ world ->setBlock ($ block ->getPosition (), VanillaBlocks::AIR ());
243
+ BlockUpdateHelper::updateAroundRedstone ($ block );
242
244
}
243
245
$ this ->setState (3 );
244
246
} else if ($ state === 3 ) {
You can’t perform that action at this time.
0 commit comments