mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Remove some direct Position->level accesses
This commit is contained in:
@ -1368,11 +1368,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
}
|
||||
|
||||
$block = BlockFactory::get($id, $meta);
|
||||
|
||||
$block->x = $x;
|
||||
$block->y = $y;
|
||||
$block->z = $z;
|
||||
$block->level = $this;
|
||||
$block->position($this, $x, $y, $z);
|
||||
|
||||
static $dynamicStateRead = false;
|
||||
|
||||
|
Reference in New Issue
Block a user