mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
Fix another structure generator NPE
This commit is contained in:
parent
e1c9ba99cd
commit
2778f5e485
@ -234,6 +234,14 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
this.a(this.c);
|
||||
return this.c(blockposition) != null;
|
||||
}
|
||||
@@ -0,0 +0,0 @@ public abstract class StructureGenerator extends WorldGenBase {
|
||||
}
|
||||
|
||||
public boolean a(World world, BlockPosition blockposition) {
|
||||
+ if (this.c == null) return false; // PaperSpigot
|
||||
this.a(world);
|
||||
Iterator iterator = this.e.values().iterator();
|
||||
|
||||
diff --git a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java b/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/github/paperspigot/PaperSpigotWorldConfig.java
|
||||
|
Loading…
Reference in New Issue
Block a user