This is handled already in the gamestate
This commit is contained in:
@@ -321,13 +321,6 @@ public class XpDropPlugin extends Plugin
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client.getGameState() != GameState.LOGGED_IN)
|
|
||||||
{
|
|
||||||
damage = 0;
|
|
||||||
tickShow = 0;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (event.getSkill().equals(Skill.HITPOINTS))
|
if (event.getSkill().equals(Skill.HITPOINTS))
|
||||||
{
|
{
|
||||||
final double oldExp = hpExp;
|
final double oldExp = hpExp;
|
||||||
|
|||||||
Reference in New Issue
Block a user