ignore if xp doesnt change
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user