Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
Fix neighbour block update
  • Loading branch information
DavyCraft648 committed Dec 18, 2023
1 parent 1c09455 commit 4a8f381
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/world/World.php
Original file line number Diff line number Diff line change
Expand Up @@ -1046,9 +1046,6 @@ protected function actuallyDoTick(int $currentTick) : void{

foreach([0, 1] as $layer){
$block = $this->getBlockAtLayer($x, $y, $z, $layer);
if($block->getTypeId() === BlockTypeIds::AIR){
break;
}

if(BlockUpdateEvent::hasHandlers()){
$ev = new BlockUpdateEvent($block);
Expand Down

0 comments on commit 4a8f381

Please sign in to comment.