Fix new account can't load codex datas

This commit is contained in:
ShiroSaki
2022-05-24 13:20:58 +08:00
committed by Melledy
parent 9e8b6eff09
commit c8a7aea78b
2 changed files with 10 additions and 2 deletions

View File

@@ -39,6 +39,11 @@ public class PlayerCodex {
this.unlockedReliquarySuitCodex = new HashSet<>();
}
public PlayerCodex(Player player){
this();
this.player = player;
}
public void setPlayer(Player player) {
this.player = player;
}