diff options
Diffstat (limited to 'patches/server/0376-Add-Plugin-Tickets-to-API-Chunk-Methods.patch')
-rw-r--r-- | patches/server/0376-Add-Plugin-Tickets-to-API-Chunk-Methods.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0376-Add-Plugin-Tickets-to-API-Chunk-Methods.patch b/patches/server/0376-Add-Plugin-Tickets-to-API-Chunk-Methods.patch index fff3dfb4d9..1c53244eb5 100644 --- a/patches/server/0376-Add-Plugin-Tickets-to-API-Chunk-Methods.patch +++ b/patches/server/0376-Add-Plugin-Tickets-to-API-Chunk-Methods.patch @@ -44,7 +44,7 @@ index 89c4763b990ca9e801ee16c4a50e806740d061d9..0b288cc080869efed42a28be682f7b68 this.printSaveWarning = false; this.console.autosavePeriod = this.configuration.getInt("ticks-per.autosave"); diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index a381688de78f5a78980b660f9765f839413a6c65..6e01013228798f9682624e912618500f0d4fa485 100644 +index 347016873354286ac3ec953049bca2cd21680911..c35fd2fcb6ced6a16816637353d03c88f1d49d1b 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -266,7 +266,13 @@ public class CraftWorld extends CraftRegionAccessor implements World { @@ -93,7 +93,7 @@ index a381688de78f5a78980b660f9765f839413a6c65..6e01013228798f9682624e912618500f return true; } -@@ -2241,6 +2253,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -2243,6 +2255,7 @@ public class CraftWorld extends CraftRegionAccessor implements World { ca.spottedleaf.moonrise.common.util.ChunkSystem.scheduleChunkLoad(this.getHandle(), x, z, gen, ChunkStatus.FULL, true, priority, (c) -> { net.minecraft.server.MinecraftServer.getServer().scheduleOnMain(() -> { net.minecraft.world.level.chunk.LevelChunk chunk = (net.minecraft.world.level.chunk.LevelChunk)c; |