mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
World: remove dead code
This commit is contained in:
parent
8e17aed4f4
commit
41c5f63565
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user