@@ -33,11 +33,9 @@ import java.awt.event.MouseAdapter;
|
|||||||
import java.awt.event.MouseEvent;
|
import java.awt.event.MouseEvent;
|
||||||
import java.awt.image.BufferedImage;
|
import java.awt.image.BufferedImage;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.stream.IntStream;
|
|
||||||
import javax.swing.BorderFactory;
|
import javax.swing.BorderFactory;
|
||||||
import javax.swing.BoxLayout;
|
import javax.swing.BoxLayout;
|
||||||
import javax.swing.ImageIcon;
|
import javax.swing.ImageIcon;
|
||||||
|
|||||||
@@ -749,11 +749,11 @@ public class LootTrackerPlugin extends Plugin
|
|||||||
// If it's a death we want to get a coin value for untradeables lost
|
// If it's a death we want to get a coin value for untradeables lost
|
||||||
if (!itemDefinition.isTradeable() && quantity < 0)
|
if (!itemDefinition.isTradeable() && quantity < 0)
|
||||||
{
|
{
|
||||||
price = (long) itemDefinition.getPrice() *(long) quantity;
|
price = (long) itemDefinition.getPrice() * (long) quantity;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
price =(long) itemManager.getItemPrice(realItemId) * (long) quantity;
|
price = (long) itemManager.getItemPrice(realItemId) * (long) quantity;
|
||||||
}
|
}
|
||||||
final boolean ignored = ignoredItems.contains(itemDefinition.getName());
|
final boolean ignored = ignoredItems.contains(itemDefinition.getName());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user