mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
added string method
This commit is contained in:
parent
ac12374634
commit
2e42fc327e
@ -55,7 +55,11 @@ public class Professions {
|
||||
}
|
||||
|
||||
public int getExperience(Profession profession) {
|
||||
return exp.containsKey(profession.getId()) ? exp.get(profession.getId()) : 0;
|
||||
return getExperience(profession.getId());
|
||||
}
|
||||
|
||||
public int getExperience(String id) {
|
||||
return exp.containsKey(id) ? exp.get(id) : 0;
|
||||
}
|
||||
|
||||
public void setExperience(Profession profession, int value) {
|
||||
|
Loading…
Reference in New Issue
Block a user