aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0986-incremental-chunk-and-player-saving.patch
diff options
context:
space:
mode:
authorJason Penilla <[email protected]>2024-04-25 22:25:02 -0700
committerJason Penilla <[email protected]>2024-04-25 22:25:02 -0700
commitc5c2a5fe137e24eefb229e9677fc2d954f4ca75c (patch)
treede20bd3e1bf513cbddcf7e329ec9c5e0bbf9b612 /patches/server/0986-incremental-chunk-and-player-saving.patch
parent62b96c520f280a0bb171bcac7844f78940e8184a (diff)
downloadPaper-c5c2a5fe137e24eefb229e9677fc2d954f4ca75c.tar.gz
Paper-c5c2a5fe137e24eefb229e9677fc2d954f4ca75c.zip
hunk system fixes
Diffstat (limited to 'patches/server/0986-incremental-chunk-and-player-saving.patch')
-rw-r--r--patches/server/0986-incremental-chunk-and-player-saving.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0986-incremental-chunk-and-player-saving.patch b/patches/server/0986-incremental-chunk-and-player-saving.patch
index d803643a22..6dbbfeefeb 100644
--- a/patches/server/0986-incremental-chunk-and-player-saving.patch
+++ b/patches/server/0986-incremental-chunk-and-player-saving.patch
@@ -76,7 +76,7 @@ index f74efe41cd0da2f9749fc96fb9e0f7cf237ad1c6..d1728e13a7b649f308bde90ab633c79d
public void close() throws IOException {
// CraftBukkit start
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
-index 4dc5802d203d202081ae034bbf8efd5e7983f360..c0bff735a4ff85ca84d55cd1448aa5d423cab60f 100644
+index 877f9d7a83fa817586f9f2dd2b10e06e9962b7c8..412e167f6e29cbe905161c7e00736961f2c56c21 100644
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
@@ -1302,6 +1302,37 @@ public class ServerLevel extends Level implements WorldGenLevel {
@@ -106,7 +106,7 @@ index 4dc5802d203d202081ae034bbf8efd5e7983f360..c0bff735a4ff85ca84d55cd1448aa5d4
+ ServerLevel worldserver1 = this;
+
+ this.serverLevelData.setWorldBorder(worldserver1.getWorldBorder().createSettings());
-+ this.serverLevelData.setCustomBossEvents(this.server.getCustomBossEvents().save());
++ this.serverLevelData.setCustomBossEvents(this.server.getCustomBossEvents().save(this.registryAccess()));
+ this.convertable.saveDataTag(this.server.registryAccess(), this.serverLevelData, this.server.getPlayerList().getSingleplayerData());
+ }
+ // CraftBukkit end