mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Updated Position to use Weak / strong references for Level objects
This commit is contained in:
@ -32,7 +32,7 @@ class Fallable extends Solid{
|
||||
}
|
||||
|
||||
public function place(Item $item, Block $block, Block $target, $face, $fx, $fy, $fz, Player $player = null){
|
||||
$ret = $this->level->setBlock($this, $this, true, false, true);
|
||||
$ret = $this->getLevel()->setBlock($this, $this, true, false, true);
|
||||
|
||||
return $ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user