forked from Upstream/mmocore
new method
This commit is contained in:
parent
37e9443983
commit
ac84e94697
@ -27,6 +27,10 @@ public class PlayerLevelUpEvent extends PlayerDataEvent {
|
||||
return level;
|
||||
}
|
||||
|
||||
public int getGained() {
|
||||
return level - getData().getLevel();
|
||||
}
|
||||
|
||||
public boolean hasProfession() {
|
||||
return profession != null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user