internal static ItemInfo GetItemInfo(Item item, Mod mod, string name) { int index; return infoIndexes.TryGetValue(mod.Name + ':' + name, out index) ? item.itemInfo[index] : null; }