forked from Upstream/mmocore
Removed the boundPassiveSkill method in DataContainer
This commit is contained in:
parent
ef173a2336
commit
e9a7097a8d
@ -1201,10 +1201,6 @@ public class PlayerData extends OfflinePlayerData implements Closable, Experienc
|
||||
return boundSkills;
|
||||
}
|
||||
|
||||
public List<PassiveSkill> getBoundPassiveSkills() {
|
||||
return boundPassiveSkills;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public CombatHandler getCombat() {
|
||||
return combat;
|
||||
|
@ -45,8 +45,6 @@ public interface ClassDataContainer {
|
||||
|
||||
List<ClassSkill> getBoundSkills();
|
||||
|
||||
List<PassiveSkill> getBoundPassiveSkills();
|
||||
|
||||
Map<SkillTreeNode, Integer> getNodeLevels();
|
||||
|
||||
Map<String, Integer> getNodeTimesClaimed();
|
||||
|
@ -1,6 +1,5 @@
|
||||
package net.Indyuce.mmocore.player;
|
||||
|
||||
import io.lumine.mythic.lib.player.skill.PassiveSkill;
|
||||
import net.Indyuce.mmocore.api.player.PlayerData;
|
||||
import net.Indyuce.mmocore.skill.ClassSkill;
|
||||
import net.Indyuce.mmocore.skilltree.SkillTreeNode;
|
||||
@ -133,11 +132,6 @@ public class DefaultPlayerData implements ClassDataContainer {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<PassiveSkill> getBoundPassiveSkills() {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
public void apply(PlayerData player) {
|
||||
player.setLevel(level);
|
||||
player.setClassPoints(classPoints);
|
||||
|
Loading…
Reference in New Issue
Block a user