diff --git a/Spigot-Server-Patches/Improve-Structures-Checking.patch b/Spigot-Server-Patches/Improve-Structures-Checking.patch index c4498cbfe..642d48df9 100644 --- a/Spigot-Server-Patches/Improve-Structures-Checking.patch +++ b/Spigot-Server-Patches/Improve-Structures-Checking.patch @@ -47,7 +47,7 @@ index db419cd99..d9329bd42 100644 return baseblockposition.getX() >= this.a && baseblockposition.getX() <= this.d && baseblockposition.getZ() >= this.c && baseblockposition.getZ() <= this.f && baseblockposition.getY() >= this.b && baseblockposition.getY() <= this.e; } diff --git a/src/main/java/net/minecraft/server/StructureGenerator.java b/src/main/java/net/minecraft/server/StructureGenerator.java -index e8263baa4..09e49221d 100644 +index e8263baa4..f4dfba8f3 100644 --- a/src/main/java/net/minecraft/server/StructureGenerator.java +++ b/src/main/java/net/minecraft/server/StructureGenerator.java @@ -0,0 +0,0 @@ import it.unimi.dsi.fastutil.longs.Long2ObjectMap; @@ -145,8 +145,8 @@ index e8263baa4..09e49221d 100644 + } + final BaseBlockPosition low = bb.getLowPosition(); + final BaseBlockPosition high = bb.getHighPosition(); -+ for (int x = low.getX() >> 4, maxX = high.getX() >> 4; x < maxX; x++) { -+ for (int z = low.getZ() >> 4, maxZ = high.getZ() >> 4; z < maxZ; z++) { ++ for (int x = low.getX() >> 4, maxX = high.getX() >> 4; x <= maxX; x++) { ++ for (int z = low.getZ() >> 4, maxZ = high.getZ() >> 4; z <= maxZ; z++) { + allStructures.put(ChunkCoordIntPair.asLong(x, z), structurestart); + } + }