Fixed noted items not working with GE price lookup
This commit is contained in:
@@ -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
|
Color textColor = Color.WHITE; // Color to use when drawing the ground item
|
||||||
ItemPrice itemPrice = itemManager.get(itemId);
|
ItemPrice itemPrice = itemManager.get(itemId);
|
||||||
if (itemPrice != null)
|
if (itemPrice != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user