@@ -84,7 +84,7 @@ enum Impling
|
||||
|
||||
LUCKY(ImplingType.LUCKY, NpcID.LUCKY_IMPLING),
|
||||
LUCKY_2(ImplingType.LUCKY, NpcID.LUCKY_IMPLING_7302);
|
||||
|
||||
|
||||
private ImplingType implingType;
|
||||
private final int npcId;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ public class ImplingMinimapOverlay extends Overlay
|
||||
{
|
||||
Point impLocation = imp.getMinimapLocation();
|
||||
Color color = plugin.npcToColor(imp);
|
||||
if (plugin.showNpc(imp) || impLocation == null || color == null)
|
||||
if (!plugin.showNpc(imp) || impLocation == null || color == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ public class ImplingsOverlay extends Overlay
|
||||
for (NPC imp : implings)
|
||||
{
|
||||
Color color = plugin.npcToColor(imp);
|
||||
if (plugin.showNpc(imp) || color == null)
|
||||
if (!plugin.showNpc(imp) || color == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user