impling: Fix overlays
This commit is contained in:
@@ -63,7 +63,7 @@ public class ImplingMinimapOverlay extends Overlay
|
|||||||
{
|
{
|
||||||
Point impLocation = imp.getMinimapLocation();
|
Point impLocation = imp.getMinimapLocation();
|
||||||
Color color = plugin.npcToColor(imp);
|
Color color = plugin.npcToColor(imp);
|
||||||
if (plugin.showNpc(imp) || impLocation == null || color == null)
|
if (!plugin.showNpc(imp) || impLocation == null || color == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class ImplingsOverlay extends Overlay
|
|||||||
for (NPC imp : implings)
|
for (NPC imp : implings)
|
||||||
{
|
{
|
||||||
Color color = plugin.npcToColor(imp);
|
Color color = plugin.npcToColor(imp);
|
||||||
if (plugin.showNpc(imp) || color == null)
|
if (!plugin.showNpc(imp) || color == null)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user