ignore if xp doesnt change

This commit is contained in:
Adam
2019-05-11 16:16:49 -04:00
parent bb3463bbce
commit f21eea455a
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ public class DpsCounterPlugin extends Plugin
}
final int xp = client.getSkillExperience(Skill.HITPOINTS);
if (boss == null || lastHpExp < 0 || xp < lastHpExp)
if (boss == null || lastHpExp < 0 || xp <= lastHpExp)
{
lastHpExp = xp;
return;

View File

@@ -48,7 +48,7 @@ class DpsMember
return;
}
start = start.plus(Duration.between(end, Instant.now());
start = start.plus(Duration.between(end, Instant.now()));
end = null;
}
}