Fix /talent saving to level instead of id

This commit is contained in:
AnimeGitB 2022-05-09 20:21:40 +09:30 committed by Melledy
parent 5d917f185f
commit 63efef8d05

View File

@ -24,7 +24,7 @@ public final class TalentCommand implements CommandHandler {
} }
// Upgrade skill // Upgrade skill
avatar.getSkillLevelMap().put(talentLevel, talentLevel); avatar.getSkillLevelMap().put(talentId, talentLevel);
avatar.save(); avatar.save();
// Packet // Packet