Removal of useless code.
The if-statement following the removed one already contains the logic.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user