public static bool HasItemType(int id) { bool has = false; foreach(DictionaryEntry entry in GameHandler.Instance().items) { if(DataHolder.Item((int)entry.Key).itemType == id) { has = true; break; } } return has; }