mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Updated Position to use Weak / strong references for Level objects
This commit is contained in:
@ -76,7 +76,7 @@ abstract class Tile extends Position{
|
||||
|
||||
public function __construct(Level $level, Compound $nbt){
|
||||
$this->server = Server::getInstance();
|
||||
$this->level = $level;
|
||||
$this->setLevel($level, true); //Strong reference
|
||||
$this->namedtag = $nbt;
|
||||
$this->closed = false;
|
||||
$this->name = "";
|
||||
|
Reference in New Issue
Block a user