diff options
Diffstat (limited to 'src/mapgen_indev.cpp')
-rw-r--r-- | src/mapgen_indev.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp index ac5b4e811..67535b0b4 100644 --- a/src/mapgen_indev.cpp +++ b/src/mapgen_indev.cpp @@ -164,7 +164,7 @@ MapgenIndevParams::MapgenIndevParams() { void MapgenIndevParams::readParams(Settings *settings) { MapgenV6Params::readParams(settings); - settings->getS16NoEx("mgindev_float_islands", float_islands); + settings->tryGetS16("mgindev_float_islands", float_islands); settings->getNoiseIndevParams("mgindev_np_terrain_base", npindev_terrain_base); settings->getNoiseIndevParams("mgindev_np_terrain_higher", npindev_terrain_higher); |