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);
|
final int xp = client.getSkillExperience(Skill.HITPOINTS);
|
||||||
if (boss == null || lastHpExp < 0 || xp < lastHpExp)
|
if (boss == null || lastHpExp < 0 || xp <= lastHpExp)
|
||||||
{
|
{
|
||||||
lastHpExp = xp;
|
lastHpExp = xp;
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class DpsMember
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
start = start.plus(Duration.between(end, Instant.now());
|
start = start.plus(Duration.between(end, Instant.now()));
|
||||||
end = null;
|
end = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user