mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-02-24 07:25:08 +00:00
Many items need only the name, so we can just place the name directly in this case. JsonMapper supports hydrating the object directly from the string using the pre-existing constructor for this.