From 74f665b6f5d222af41ec2d7cddfa9401ae8e523e Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Tue, 7 Mar 2023 20:06:08 -0800 Subject: [PATCH] Fix compilation --- patches/server/0004-Threaded-Regions.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0004-Threaded-Regions.patch b/patches/server/0004-Threaded-Regions.patch index d52591c..0168a53 100644 --- a/patches/server/0004-Threaded-Regions.patch +++ b/patches/server/0004-Threaded-Regions.patch @@ -21802,7 +21802,7 @@ index 7f1ac2cb29eb84833c0895442d611dfa0504527e..c79cfebc65fd04994735dabcf5bb6e6c LevelChunkTicks levelChunkTicks = this.allContainers.get(l); if (levelChunkTicks == null) { diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java -index 2ea3778ee1348e5d06b15a2c5dc5d9bd4136dbe3..4c09a5a6a3f27c8e989cd35d70e999131a65b9d5 100644 +index 2ea3778ee1348e5d06b15a2c5dc5d9bd4136dbe3..c970a9165657636f1a442df8aa3f566eea46a290 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -307,6 +307,69 @@ public final class CraftServer implements Server { @@ -21860,7 +21860,7 @@ index 2ea3778ee1348e5d06b15a2c5dc5d9bd4136dbe3..4c09a5a6a3f27c8e989cd35d70e99913 + } + + @Override -+ public final boolean isOwnedByCurrentRegion(World world, int chunkX, int chunkZ, int squareRadiusChunks) {] ++ public final boolean isOwnedByCurrentRegion(World world, int chunkX, int chunkZ, int squareRadiusChunks) { + return io.papermc.paper.util.TickThread.isTickThreadFor( + ((CraftWorld)world).getHandle(), chunkX, chunkZ, squareRadiusChunks + );