From 341a9b78b531a0ff47ffcf36c3fb413153409450 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 24 Mar 2023 13:48:33 +0000 Subject: [PATCH] LegacyStringToItemParser: update documentation --- src/item/LegacyStringToItemParser.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/item/LegacyStringToItemParser.php b/src/item/LegacyStringToItemParser.php index 6a0f852c0..a52b6c716 100644 --- a/src/item/LegacyStringToItemParser.php +++ b/src/item/LegacyStringToItemParser.php @@ -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;