Skip to content

Commit

Permalink
update DataVersion NBT value
Browse files Browse the repository at this point in the history
  • Loading branch information
InFTord committed May 27, 2023
1 parent 57fc185 commit 6086348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Obsidian/Entities/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ public async Task SaveAsync()
await using var playerFileStream = playerDataFile.Create();
await using var writer = new NbtWriter(playerFileStream, NbtCompression.GZip, "");

writer.WriteInt("DataVersion", 2724);
writer.WriteInt("DataVersion", 3337);
writer.WriteInt("playerGameType", (int)this.Gamemode);
writer.WriteInt("previousPlayerGameType", (int)this.Gamemode);
writer.WriteInt("Score", 0);
Expand Down

0 comments on commit 6086348

Please sign in to comment.