mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 01:31:29 +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
@ -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…
Reference in New Issue
Block a user