mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Merge branch 'master' of https://github.com/pmmp/pocketmine-mp
This commit is contained in:
commit
3789f4d643
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user