Skip to content

Commit

Permalink
Fixed NPE when creating new characters
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-dev committed Dec 1, 2024
1 parent fd3e5d1 commit bf812e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import com.aionemu.gameserver.model.gameobjects.Item;
Expand Down Expand Up @@ -31,7 +32,7 @@ public class PlayerAccountData {
private LegionMember legionMember;

public PlayerAccountData(PlayerCommonData playerCommonData, PlayerAppearance appearance) {
this(playerCommonData, appearance, null, null, null);
this(playerCommonData, appearance, null, Collections.emptyList(), null);
}

public PlayerAccountData(PlayerCommonData playerCommonData, PlayerAppearance appearance, CharacterBanInfo cbi, List<Item> equipment,
Expand Down

0 comments on commit bf812e7

Please sign in to comment.