SPIGOT-6594: NPE at Bukkit.getServer().getGenerateStructures()
This commit is contained in:
parent
295ab080d3
commit
f81f49940f
@ -609,7 +609,7 @@ public final class CraftServer implements Server {
|
||||
|
||||
@Override
|
||||
public boolean getGenerateStructures() {
|
||||
return this.getProperties().worldGenSettings.shouldGenerateMapFeatures();
|
||||
return this.getProperties().a(this.getServer().getCustomRegistry()).shouldGenerateMapFeatures();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user