mirror of
https://github.com/kwsch/NHSE.git
synced 2026-07-20 17:21:52 -05:00
Fix oak tree color on field item map
This commit is contained in:
parent
8661f7c0cc
commit
d68b8b2fbf
|
|
@ -10,6 +10,7 @@ public class Item : ICopyableItem<Item>
|
|||
public static readonly Item NO_ITEM = new Item {ItemId = NONE};
|
||||
public const ushort NONE = 0xFFFE;
|
||||
public const ushort EXTENSION = 0xFFFD;
|
||||
public const ushort FieldItemMin = 60_000;
|
||||
|
||||
public const ushort MessageBottle = 0x16A1;
|
||||
public const ushort DIYRecipe = 0x16A2;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ public static class FieldItemColor
|
|||
{
|
||||
public static Color GetItemColor(Item item)
|
||||
{
|
||||
if (item.DisplayItemId > 60000)
|
||||
if (item.DisplayItemId >= Item.FieldItemMin)
|
||||
return GetItemColor60000(item);
|
||||
var kind = ItemInfo.GetItemKind(item);
|
||||
return Colors[(int)kind];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user