Hi, I was wondering how do I store items. I'm making an auction house plugin and I'm storing items the following way. I don't know if it's the correct way nor the best way. Just need any tips or fixes if it's incorrect. PHP: /** @var BigEndianNBTStream */public static $nbtWriter;public static function encode(Item $item): string { return self::$nbtWriter->writeCompressed($item->nbtSerialize());}public static function decode(string $compression): Item { $tag = self::$nbtWriter->readCompressed($compression); if(!$tag instanceof CompoundTag) { throw new PluginException("Expected a CompoundTag, got " . get_class($tag)); } return Item::nbtDeserialize($tag);}