Make examineplugin stop running getItemComposition on executor thread (#461)
This commit is contained in:
@@ -322,7 +322,7 @@ public class ExaminePlugin extends Plugin
|
||||
quantity = Math.max(1, quantity);
|
||||
int itemCompositionPrice = itemComposition.getPrice();
|
||||
final int gePrice = itemManager.getItemPrice(id);
|
||||
final int alchPrice = itemCompositionPrice <= 0 ? 0 : itemManager.getAlchValue(id);
|
||||
final int alchPrice = itemCompositionPrice <= 0 ? 0 : itemManager.getAlchValue(itemComposition);
|
||||
|
||||
if (gePrice > 0 || alchPrice > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user