Throw PlayerLevelChangeEvent and PlayerExpChangeEvent events. Thanks to feildmaster for the PR.

This commit is contained in:
Nathan Adams
2012-01-19 16:06:27 +00:00
parent 1f1c9c0d4b
commit b0f29b1755
4 changed files with 28 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ public abstract class EntityHuman extends EntityLiving {
protected boolean J = false;
public float K;
public PlayerAbilities abilities = new PlayerAbilities();
public int oldLevel = -1; // CraftBukkit
public int expLevel;
public int expTotal;
public float exp;