LegacyStringToItemParser: update documentation

This commit is contained in:
Dylan K. Taylor 2023-03-24 13:48:33 +00:00
parent 3b11191043
commit 341a9b78b5
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -49,6 +49,9 @@ use function trim;
* Avoid using this wherever possible. Unless you need to parse item strings containing meta (e.g. "dye:4", "351:4") or
* item IDs (e.g. "351"), you should prefer the newer StringToItemParser, which is much more user-friendly, more
* flexible, and also supports registering custom aliases for any item in any state.
*
* WARNING: This class does NOT support items added during or after PocketMine-MP 5.0.0. Use StringToItemParser for
* modern items.
*/
final class LegacyStringToItemParser{
use SingletonTrait;