World: remove dead code

This commit is contained in:
Dylan K. Taylor 2023-10-23 12:17:41 +01:00
parent 8e17aed4f4
commit 41c5f63565
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -973,11 +973,6 @@ class World implements ChunkManager{
}
$block = $this->getBlockAt($x, $y, $z);
$replacement = $block->readStateFromWorld(); //for blocks like fences, force recalculation of connected AABBs
if($replacement !== $block){
$replacement->position($this, $x, $y, $z);
$block = $replacement;
}
if(BlockUpdateEvent::hasHandlers()){
$ev = new BlockUpdateEvent($block);