aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch')
-rw-r--r--patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch b/patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch
index aba2d09d90..3f9e50ac70 100644
--- a/patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch
+++ b/patches/server/0863-Deprecate-and-replace-methods-with-old-StructureType.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Deprecate and replace methods with old StructureType
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-index 67a199f022bc9387f7fd69889efec5bad2ed0a5f..3ca0d01d4d55d0919624356751144985587ddc25 100644
+index 300a2c334e13ab7ab8f071e7f46038d9b67372a6..26ad21ddcd3da1558586889288e1e8ce6ae51959 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
-@@ -1992,6 +1992,11 @@ public final class CraftServer implements Server {
+@@ -2000,6 +2000,11 @@ public final class CraftServer implements Server {
ServerLevel worldServer = ((CraftWorld) world).getHandle();
Location structureLocation = world.locateNearestStructure(location, structureType, radius, findUnexplored);
@@ -20,7 +20,7 @@ index 67a199f022bc9387f7fd69889efec5bad2ed0a5f..3ca0d01d4d55d0919624356751144985
BlockPos structurePosition = CraftLocation.toBlockPosition(structureLocation);
// Create map with trackPlayer = true, unlimitedTracking = true
-@@ -2002,6 +2007,31 @@ public final class CraftServer implements Server {
+@@ -2010,6 +2015,31 @@ public final class CraftServer implements Server {
return CraftItemStack.asBukkitCopy(stack);
}