Fixed Item after-clone behaviour

This commit is contained in:
Shoghi Cervantes 2014-08-27 18:11:02 +02:00
parent 90fa40de34
commit afa98866e0

View File

@ -37,6 +37,10 @@ class Block extends Item{
$this->block->setDamage($this->meta);
}
public function __clone(){
$this->block = clone $this->block;
}
public function getBlock(){
return $this->block;
}