diff --git a/src/pocketmine/block/ItemFrame.php b/src/pocketmine/block/ItemFrame.php index 0330367ec..e7b704b31 100644 --- a/src/pocketmine/block/ItemFrame.php +++ b/src/pocketmine/block/ItemFrame.php @@ -65,7 +65,7 @@ class ItemFrame extends Flowable{ 2 => Vector3::SIDE_NORTH, 3 => Vector3::SIDE_SOUTH ]; - if(!$this->getSide($sides[$this->meta])->isSolid()){ + if(isset($sides[$this->meta]) and !$this->getSide($sides[$this->meta])->isSolid()){ $this->level->useBreakOn($this); } }