grounditems: fixes hidden values (#1548)

fixes and closes #1547
This commit is contained in:
Justin
2019-09-05 18:24:38 +10:00
committed by Kyle
parent f1e407258b
commit 021d3920b0

View File

@@ -195,12 +195,11 @@ public class GroundItemsOverlay extends Overlay
continue; continue;
} }
Color highlighted = null; Color highlighted = plugin.getHighlighted(item.getName(), item.getGePrice(), item.getHaPrice());
//Process skill items //Process skill items
if (!plugin.hiddenItems.getUnchecked(item.getName())) if (!plugin.hiddenItems.getUnchecked(item.getName()))
{ {
highlighted = plugin.getDefaultColor();
if (plugin.highlightHerblore) if (plugin.highlightHerblore)
{ {
if (GroundItemsPlugin.herbloreItems.contains(item.getId())) if (GroundItemsPlugin.herbloreItems.contains(item.getId()))