mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-18 00:32:41 -05:00
Fix oak tree color on field item map
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user