Additional config options

This commit is contained in:
Frank 2021-12-16 12:42:21 +01:00
parent 192a537939
commit 3d45114584
10 changed files with 59 additions and 6 deletions

View file

@ -288,7 +288,7 @@ public class DataFixerAPI {
}
private static MigrationProfile loadProfileIfNeeded(File levelBaseDir){
if (!Configs.MAIN_CONFIG.getBoolean(Configs.MAIN_PATCH_CATEGORY, "applyPatches", true)) {
if (!Configs.MAIN_CONFIG.applyPatches()) {
LOGGER.info("World Patches are disabled");
return null;
}