This commit is contained in:
Dylan K. Taylor 2019-03-04 12:03:45 +00:00
commit 3789f4d643

View File

@ -99,7 +99,7 @@ class ItemFrame extends Flowable{
* @return Item|null
*/
public function getFramedItem() : ?Item{
return clone $this->framedItem;
return $this->framedItem !== null ? clone $this->framedItem : null;
}
/**