From 8cdbca947d988b033df693bb5b2eaf7af9d23481 Mon Sep 17 00:00:00 2001 From: Abel Briggs Date: Tue, 20 Jun 2017 20:19:48 -0500 Subject: [PATCH] Fixed noted items not working with GE price lookup --- .../client/plugins/grounditems/GroundItemsOverlay.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 8890c41e1c..e648c4a2c2 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 @@ -183,6 +183,12 @@ public class GroundItemsOverlay extends Overlay } } + // sets item ID to unnoted version, if noted + if (item.getNote() != -1) + { + itemId = item.getLinkedNoteId(); + } + Color textColor = Color.WHITE; // Color to use when drawing the ground item ItemPrice itemPrice = itemManager.get(itemId); if (itemPrice != null)