Fixed noted items not working with GE price lookup

This commit is contained in:
Abel Briggs
2017-06-20 20:19:48 -05:00
committed by Adam
parent 991980eef8
commit 8cdbca947d

View File

@@ -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)