mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-23 11:06:02 -05:00
Update ItemInfo.cs
for whatever reason, our ItemInfo binary assumes most flowers are uniticon* rather than just Flower; just remap.
This commit is contained in:
@@ -50,6 +50,8 @@ public static ItemMenuIconType GetMenuIcon(ushort id)
|
||||
public static bool TryGetMaxStackCount(ushort id, out ushort max)
|
||||
{
|
||||
var kind = GetItemKind(id);
|
||||
if (kind.IsFlowerPicked())
|
||||
kind = Kind_Flower;
|
||||
return MaxCountByKind.TryGetValue(kind, out max);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user