diff options
author | Spottedleaf <[email protected]> | 2024-07-30 19:50:14 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2024-07-30 19:50:14 -0700 |
commit | 0a1be9ae87416ffca38cf20412e248c78a9d6a3c (patch) | |
tree | 5fb05b325f238764f4d0e4e19c30080f3dc94518 /patches/server/0990-disable-forced-empty-world-ticks.patch | |
parent | 58c7ea3193c5c192fb09b0197b86f0ff5dbe2dfd (diff) | |
download | Paper-0a1be9ae87416ffca38cf20412e248c78a9d6a3c.tar.gz Paper-0a1be9ae87416ffca38cf20412e248c78a9d6a3c.zip |
Make loadChunksForMoveAsync use new chunk system load calls
This is to allow the call to work properly when on Folia,
as Folia does not have a main thread.
Diffstat (limited to 'patches/server/0990-disable-forced-empty-world-ticks.patch')
-rw-r--r-- | patches/server/0990-disable-forced-empty-world-ticks.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0990-disable-forced-empty-world-ticks.patch b/patches/server/0990-disable-forced-empty-world-ticks.patch index 747f78f9fd..e3bca0910f 100644 --- a/patches/server/0990-disable-forced-empty-world-ticks.patch +++ b/patches/server/0990-disable-forced-empty-world-ticks.patch @@ -5,10 +5,10 @@ Subject: [PATCH] disable forced empty world ticks diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index c759555241649cf5b355268066375341a54477f2..7da9729a6ac0684624f900a9e47f24e35bd3f3d9 100644 +index b2c5ead035f583585b79f7eba51d66da89bf1259..067697f6762b115b3d500a298532f69f286b5d6f 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java -@@ -729,7 +729,7 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf. +@@ -686,7 +686,7 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf. this.handlingTick = false; gameprofilerfiller.pop(); |