ground items: change highlight value to take priority over other value thresholds
This commit is contained in:
@@ -431,6 +431,11 @@ public class GroundItemsPlugin extends Plugin
|
|||||||
// Cache colors
|
// Cache colors
|
||||||
priceChecks.clear();
|
priceChecks.clear();
|
||||||
|
|
||||||
|
if (config.getHighlightOverValue() > 0)
|
||||||
|
{
|
||||||
|
priceChecks.put(config.getHighlightOverValue(), config.highlightedColor());
|
||||||
|
}
|
||||||
|
|
||||||
if (config.insaneValuePrice() > 0)
|
if (config.insaneValuePrice() > 0)
|
||||||
{
|
{
|
||||||
priceChecks.put(config.insaneValuePrice(), config.insaneValueColor());
|
priceChecks.put(config.insaneValuePrice(), config.insaneValueColor());
|
||||||
@@ -450,11 +455,6 @@ public class GroundItemsPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
priceChecks.put(config.lowValuePrice(), config.lowValueColor());
|
priceChecks.put(config.lowValuePrice(), config.lowValueColor());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.getHighlightOverValue() > 0)
|
|
||||||
{
|
|
||||||
priceChecks.put(config.getHighlightOverValue(), config.highlightedColor());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
|||||||
Reference in New Issue
Block a user