mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Item: update documentation of legacyJsonDeserialize()
This commit is contained in:
parent
88a5a95479
commit
d40e864821
@ -585,9 +585,9 @@ class Item implements \JsonSerializable{
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated This is intended for deserializing legacy data from the old crafting JSON and creative JSON data.
|
||||
* Deserializes item JSON data produced by json_encode()ing Item instances in older versions of PocketMine-MP.
|
||||
* This method exists solely to allow upgrading old JSON data stored by plugins.
|
||||
*
|
||||
* Returns an Item from properties created in an array by {@link Item#jsonSerialize}
|
||||
* @param mixed[] $data
|
||||
*
|
||||
* @throws SavedDataLoadingException
|
||||
|
Loading…
x
Reference in New Issue
Block a user