diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index efe17130..4ee41c01 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -330,7 +330,7 @@ namespace TShockAPI /// The item represented by the tag. public Item GetItemFromTag(string tag) { - Regex regex = new Regex(@"\[i(tem)?(?:\/s(?\d{1,3}))?(?:\/p(?\d{1,3}))?:(?-?\d{1,4})\]"); + Regex regex = new Regex(@"\[i(tem)?(?:\/s(?\d{1,4}))?(?:\/p(?\d{1,3}))?:(?-?\d{1,4})\]"); Match match = regex.Match(tag); if (!match.Success) return null;