mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-23 00:05:52 +01:00
Reformat for mapBoundSkills method.
This commit is contained in:
parent
4244bdbe3c
commit
c618b0267e
@ -221,10 +221,10 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Integer, ClassSkill> mapBoundSkills() {
|
||||
Map<Integer,ClassSkill> result= new HashMap<>();
|
||||
public Map<Integer, String> mapBoundSkills() {
|
||||
Map<Integer,String> result= new HashMap<>();
|
||||
for(int slot:boundSkills.keySet())
|
||||
result.put(slot,boundSkills.get(slot).getClassSkill());
|
||||
result.put(slot,boundSkills.get(slot).getClassSkill().getSkill().getHandler().getId());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ public interface ClassDataContainer {
|
||||
|
||||
Map<String, Integer> mapSkillTreePoints();
|
||||
|
||||
Map<Integer,ClassSkill> mapBoundSkills();
|
||||
Map<Integer,String> mapBoundSkills();
|
||||
|
||||
Map<SkillTreeNode, Integer> getNodeLevels();
|
||||
|
||||
|
@ -128,7 +128,7 @@ public class DefaultPlayerData implements ClassDataContainer {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Integer,ClassSkill> mapBoundSkills() {
|
||||
public Map<Integer,String> mapBoundSkills() {
|
||||
return new HashMap<>();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user