From 705bee059568f07a4786be9a35151ab7578aadd2 Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Fri, 22 Jul 2022 08:35:37 -0700 Subject: [PATCH] Fix battle pass manager saving with 0 id --- .../java/emu/grasscutter/game/battlepass/BattlePassManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/emu/grasscutter/game/battlepass/BattlePassManager.java b/src/main/java/emu/grasscutter/game/battlepass/BattlePassManager.java index b8ea0cca2..9858ed0fa 100644 --- a/src/main/java/emu/grasscutter/game/battlepass/BattlePassManager.java +++ b/src/main/java/emu/grasscutter/game/battlepass/BattlePassManager.java @@ -61,6 +61,7 @@ public class BattlePassManager extends BasePlayerDataManager { public BattlePassManager(Player player) { super(player); + this.ownerUid = player.getUid(); } public void setPlayer(Player player) {