diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsConfig.java index 1646dff3bf..07d7461ff9 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsConfig.java @@ -115,11 +115,22 @@ public interface GroundItemsConfig extends Config return ""; } + @ConfigItem( + keyName = "defaultColor", + name = "Default items color", + description = "Configures the color for default, non-highlighted items", + position = 8 + ) + default Color defaultColor() + { + return Color.WHITE; + } + @ConfigItem( keyName = "highlightedColor", name = "Highlighted items color", description = "Configures the color for highlighted items", - position = 8 + position = 9 ) default Color highlightedColor() { @@ -130,7 +141,7 @@ public interface GroundItemsConfig extends Config keyName = "lowValueColor", name = "Low value items color", description = "Configures the color for low value items", - position = 9 + position = 10 ) default Color lowValueColor() { @@ -141,7 +152,7 @@ public interface GroundItemsConfig extends Config keyName = "mediumValueColor", name = "Medium value items color", description = "Configures the color for medium value items", - position = 10 + position = 11 ) default Color mediumValueColor() { @@ -152,7 +163,7 @@ public interface GroundItemsConfig extends Config keyName = "highValueColor", name = "High value items color", description = "Configures the color for high value items", - position = 11 + position = 12 ) default Color highValueColor() { @@ -163,7 +174,7 @@ public interface GroundItemsConfig extends Config keyName = "insaneValueColor", name = "Insane value items color", description = "Configures the color for insane value items", - position = 12 + position = 13 ) default Color insaneValueColor() { diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsOverlay.java index 04a1a06cf0..76fa423b14 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/grounditems/GroundItemsOverlay.java @@ -235,7 +235,7 @@ public class GroundItemsOverlay extends Overlay itemId = item.getLinkedNoteId(); } - Color textColor = Color.WHITE; // Color to use when drawing the ground item + Color textColor = config.defaultColor(); // Color to use when drawing the ground item ItemPrice itemPrice = itemManager.getItemPriceAsync(itemId); if (itemPrice != null && config.showGEPrice()) {