Skip to content

Commit

Permalink
Remove unnecessary set
Browse files Browse the repository at this point in the history
  • Loading branch information
NotThorny authored Aug 28, 2023
1 parent 412fb3e commit 5a613b8
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,10 @@ public void handle(GameSession session, byte[] header, byte[] payload) throws Ex
// Sanity checks
int avatarId = req.getAvatarId();
int startingSkillDepot;
int elementlessSkillDepot;
if (avatarId == GameConstants.MAIN_CHARACTER_MALE) {
startingSkillDepot = 504;
elementlessSkillDepot = 501;
} else if (avatarId == GameConstants.MAIN_CHARACTER_FEMALE) {
startingSkillDepot = 704;
elementlessSkillDepot = 701;
} else {
return;
}
Expand All @@ -59,9 +56,6 @@ public void handle(GameSession session, byte[] header, byte[] payload) throws Ex
if (!GAME_OPTIONS.questing.enabled) {
mainCharacter.setSkillDepotData(
GameData.getAvatarSkillDepotDataMap().get(startingSkillDepot));
} else {
mainCharacter.setSkillDepotData(
GameData.getAvatarSkillDepotDataMap().get(elementlessSkillDepot));
}

// Manually handle adding to team
Expand Down

0 comments on commit 5a613b8

Please sign in to comment.