impling: Fix overlays

This commit is contained in:
Owain van Brakel
2019-11-07 22:47:07 +01:00
parent 41b85c8edd
commit ae85d524bf
3 changed files with 3 additions and 3 deletions

View File

@@ -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;
}

View File

@@ -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;
}