SPIGOT-6594: NPE at Bukkit.getServer().getGenerateStructures()
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user