Ok: i have a question: I have an object, and i want to save it. I do this, but saving an object to a yml causes a segmentation fault. Basically, what i am trying to do is save a player's inventory. using: PHP: $player->getInventory()->getContents(); This returns an array containing pocketmine\item\Item objects. Like I said before, storing that array causes a segmentation fault. I tried to implode it, but i can't convert the objects back. Is there any way to do this? If not, is there any way to store an object, but not in the form of one? Thanks. Thanks in advance!