/// <summary> /// Check whether a given item key is blacklisted. /// </summary> /// <returns>Whether the key is blacklisted.</returns> /// <param name="itemKey">Item key to check.</param> public static bool Includes(ItemKey itemKey) => itemKey.ItemType == ItemType.BigCraftable || itemKey.ItemType == ItemType.Furniture || BlacklistedItemKeys.Contains(itemKey);
/// <summary> /// Check whether a given item key is blacklisted. /// </summary> /// <returns>Whether the key is blacklisted.</returns> /// <param name="itemKey">Item key to check.</param> public static bool Includes(ItemKey itemKey) => BlacklistedItemKeys.Contains(itemKey);