mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 04:25:26 +01:00
12 lines
680 B
Diff
12 lines
680 B
Diff
--- a/net/minecraft/server/StructureGenerator.java
|
|
+++ b/net/minecraft/server/StructureGenerator.java
|
|
@@ -149,7 +149,7 @@
|
|
|
|
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) {
|