PaperMC/nms-patches/StructureGenerator.patch

12 lines
680 B
Diff
Raw Normal View History

--- a/net/minecraft/server/StructureGenerator.java
+++ b/net/minecraft/server/StructureGenerator.java
2019-12-10 23:00:00 +01:00
@@ -149,7 +149,7 @@
2019-04-23 04:00:00 +02:00
while (longiterator.hasNext()) {
long k = longiterator.nextLong();
- IChunkAccess ichunkaccess1 = generatoraccess.getChunkAt(ChunkCoordIntPair.getX(k), ChunkCoordIntPair.getZ(k), ChunkStatus.STRUCTURE_STARTS);
+ IChunkAccess ichunkaccess1 = generatoraccess.getChunkAt(ChunkCoordIntPair.getX(k), ChunkCoordIntPair.getZ(k), ChunkStatus.STRUCTURE_STARTS, false); // CraftBukkit - don't load chunks
StructureStart structurestart = ichunkaccess1.a(this.b());
if (structurestart != null) {