Fix items with no Grand Exchange Price using Store Price for the right click menu instead of High Alchemy value
This commit is contained in:
@@ -380,7 +380,7 @@ public class GroundItemsPlugin extends Plugin
|
||||
}
|
||||
|
||||
ItemPrice itemPrice = getItemPrice(itemComposition);
|
||||
int price = itemPrice == null ? itemComposition.getPrice() : itemPrice.getPrice();
|
||||
int price = itemPrice == null ? (int)Math.floor(itemComposition.getPrice() * HIGH_ALCHEMY_CONSTANT) : itemPrice.getPrice();
|
||||
int cost = quantity * price;
|
||||
Color color = overlay.getCostColor(cost, isHighlighted(itemComposition.getName()),
|
||||
isHidden(itemComposition.getName()));
|
||||
|
||||
Reference in New Issue
Block a user