Skip to content

Commit 106a934

Browse files
committed
[ci skip] Drop stale TODO
This is no longer needed as we explicitly add the correct gen settings to the SavedDataStorage for custom dimensions in CraftServer. We no longer have multiple PrimaryLevelData, and WorldGenSettings is saved in its own file.
1 parent edad1e4 commit 106a934

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

paper-server/patches/sources/net/minecraft/world/level/storage/PrimaryLevelData.java.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@
3232
}
3333

3434
@Override
35-
@@ -128,20 +_,23 @@
35+
@@ -128,20 +_,22 @@
3636

3737
writeVersionTag(tag);
3838
NbtUtils.addCurrentDataVersion(tag);
3939
- tag.putInt("GameType", this.settings.gameType().getId());
4040
- tag.store("spawn", LevelData.RespawnData.CODEC, this.respawnData);
4141
- tag.putLong("Time", this.gameTime);
4242
+ tag.putInt("GameType", this.settings.gameType().getId()); // Paper - diff on change - PaperLevelOverrides.createFromRawLevelData
43-
+ // TODO - snapshot - Missing WorldGenSettings.encode diff
4443
+ tag.store("spawn", LevelData.RespawnData.CODEC, this.respawnData); // Paper - diff on change - PaperLevelOverrides.createFromRawLevelData
4544
+ tag.store(PAPER_RESPAWN_DIMENSION, net.minecraft.world.level.Level.RESOURCE_KEY_CODEC, this.respawnDimension); // Paper
4645
+ tag.putLong("Time", this.gameTime); // Paper - diff on change - PaperLevelOverrides.createFromRawLevelData

0 commit comments

Comments
 (0)