Block: fixed crash on block factory clone

This commit is contained in:
Dylan K. Taylor 2020-06-29 22:40:35 +01:00
parent 69fb2786c6
commit 2cd67aed72

View File

@ -79,7 +79,7 @@ class Block{
}
public function __clone(){
$this->pos = Position::fromObject($this->pos, $this->pos->getWorld());
$this->pos = clone $this->pos;
}
public function getIdInfo() : BlockIdentifier{