Fixed noted items not working with GE price lookup

This commit is contained in:
Abel Briggs
2017-06-22 21:35:20 -04:00
committed by Adam
parent 991980eef8
commit 8cdbca947d
@@ -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)