mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-02-16 13:41:40 +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
|
@Override
|
||||||
public Map<Integer, ClassSkill> mapBoundSkills() {
|
public Map<Integer, String> mapBoundSkills() {
|
||||||
Map<Integer,ClassSkill> result= new HashMap<>();
|
Map<Integer,String> result= new HashMap<>();
|
||||||
for(int slot:boundSkills.keySet())
|
for(int slot:boundSkills.keySet())
|
||||||
result.put(slot,boundSkills.get(slot).getClassSkill());
|
result.put(slot,boundSkills.get(slot).getClassSkill().getSkill().getHandler().getId());
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ public interface ClassDataContainer {
|
|||||||
|
|
||||||
Map<String, Integer> mapSkillTreePoints();
|
Map<String, Integer> mapSkillTreePoints();
|
||||||
|
|
||||||
Map<Integer,ClassSkill> mapBoundSkills();
|
Map<Integer,String> mapBoundSkills();
|
||||||
|
|
||||||
Map<SkillTreeNode, Integer> getNodeLevels();
|
Map<SkillTreeNode, Integer> getNodeLevels();
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ public class DefaultPlayerData implements ClassDataContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<Integer,ClassSkill> mapBoundSkills() {
|
public Map<Integer,String> mapBoundSkills() {
|
||||||
return new HashMap<>();
|
return new HashMap<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user