From ac718d90af7cd94903eb67daed0b71c62e2a6f72 Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 1 May 2020 19:47:01 -0700 Subject: [PATCH] Don't consider flower seeds as flowers (gene expression) --- NHSE.Core/Structures/Item/ItemKind.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NHSE.Core/Structures/Item/ItemKind.cs b/NHSE.Core/Structures/Item/ItemKind.cs index f387984..c476d8c 100644 --- a/NHSE.Core/Structures/Item/ItemKind.cs +++ b/NHSE.Core/Structures/Item/ItemKind.cs @@ -154,6 +154,6 @@ public enum ItemKind : byte public static class ItemKindExtensions { - public static bool IsFlower(this ItemKind k) => (Kind_Flower <= k && k <= Kind_FlowerSeed) || (UnitIcon_FlwAnemone <= k && k <= UnitIcon_FlwTulip); + public static bool IsFlower(this ItemKind k) => (Kind_Flower <= k && k <= Kind_FlowerBud) || (UnitIcon_FlwAnemone <= k && k <= UnitIcon_FlwTulip); } }