Skip to content

Commit

Permalink
InlineVar
Browse files Browse the repository at this point in the history
  • Loading branch information
duplexsystem committed Oct 25, 2024
1 parent 3d66386 commit d088d2f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static MonsterSettings getMonsterSettings(DimensionType defaultDimension
MonsterSettings defaultMonsterSettings = defaultDimension.monsterSettings();


MonsterSettings monsterSettings = new MonsterSettings(
return new MonsterSettings(
monsterSettingsConfig.getPiglinSafe() == null ? defaultMonsterSettings.piglinSafe() : monsterSettingsConfig.getPiglinSafe(),
monsterSettingsConfig.getHasRaids() == null ? defaultMonsterSettings.hasRaids() : monsterSettingsConfig.getHasRaids(),
monsterSettingsConfig.getMonsterSpawnLight() == null ? defaultMonsterSettings.monsterSpawnLightTest() : new TerraIntProvider(
Expand All @@ -69,6 +69,5 @@ private static MonsterSettings getMonsterSettings(DimensionType defaultDimension
? defaultMonsterSettings.monsterSpawnBlockLightLimit()
: monsterSettingsConfig.getMonsterSpawnBlockLightLimit()
);
return monsterSettings;
}
}

0 comments on commit d088d2f

Please sign in to comment.