mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 04:55:47 +01:00
12 lines
691 B
Diff
12 lines
691 B
Diff
--- a/net/minecraft/server/StructureGenerator.java
|
|
+++ b/net/minecraft/server/StructureGenerator.java
|
|
@@ -202,7 +202,7 @@
|
|
return structurestart;
|
|
} else {
|
|
ChunkCoordIntPair chunkcoordintpair = new ChunkCoordIntPair(i);
|
|
- IChunkAccess ichunkaccess = generatoraccess.getChunkProvider().a(chunkcoordintpair.x, chunkcoordintpair.z, false);
|
|
+ IChunkAccess ichunkaccess = generatoraccess.getChunkProvider().getChunkAt(chunkcoordintpair.x, chunkcoordintpair.z, false, false); // CraftBukkit - don't load chunks
|
|
|
|
if (ichunkaccess != null) {
|
|
structurestart = ichunkaccess.a(this.a());
|