Skip to content

Commit

Permalink
Merge pull request #16 from Dev0Louis/dev
Browse files Browse the repository at this point in the history
Fix "sendSync was called to early for Player" being printed by default.
  • Loading branch information
Dev0Louis authored Nov 3, 2023
2 parents 246cf2a + dad46ae commit 85a2f22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void writeNbt(NbtCompound nbt) {
@Override
public void readNbt(NbtCompound nbt) {
NbtCompound nebulaNbt = nbt.getCompound(Nebula.MOD_ID);
this.setMana(nebulaNbt.getInt("Mana"));
this.setMana(nebulaNbt.getInt("Mana"), false);
}

public void copyFrom(PlayerEntity oldPlayer, boolean alive) {
Expand Down

0 comments on commit 85a2f22

Please sign in to comment.