mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed #453 multiple refs to the same cached NBT object tree
This commit is contained in:
@ -37,10 +37,6 @@ class ItemBlock extends Item{
|
||||
$this->block->setDamage($this->meta !== -1 ? $this->meta : 0);
|
||||
}
|
||||
|
||||
public function __clone(){
|
||||
$this->block = clone $this->block;
|
||||
}
|
||||
|
||||
public function getBlock() : Block{
|
||||
return $this->block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user