mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-6594: NPE at Bukkit.getServer().getGenerateStructures()
By: md_5 <git@md-5.net>
This commit is contained in:
parent
a91dc63398
commit
ae7ed4667b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue