mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-09-18 21:54:50 +00:00
SPIGOT-6594: NPE at Bukkit.getServer().getGenerateStructures()
This commit is contained in:
parent
295ab080d3
commit
f81f49940f
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ public final class CraftServer implements Server {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean getGenerateStructures() {
|
public boolean getGenerateStructures() {
|
||||||
return this.getProperties().worldGenSettings.shouldGenerateMapFeatures();
|
return this.getProperties().a(this.getServer().getCustomRegistry()).shouldGenerateMapFeatures();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue