Removal of useless code.

The if-statement following the removed one already contains the logic.
This commit is contained in:
GeChallengeM
2019-07-10 16:33:29 +02:00
parent e56a2c6db9
commit 0d4b75731f

View File

@@ -55,10 +55,6 @@ public class NpcStatusOverlay extends Overlay
{
for (MemorizedNPC npc : plugin.getMemorizedNPCs())
{
if ((npc.getNpc().getInteracting() == null && client.getLocalPlayer().getInteracting() == null))
{
continue;
}
if (npc.getNpc().getInteracting() == client.getLocalPlayer() || client.getLocalPlayer().getInteracting() == npc.getNpc())
{
switch (npc.getStatus())