From f80c12f796d226715e141f80e9ace8f598af3cce Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 3 Jul 2022 19:50:05 +0200 Subject: [PATCH] Removed deprecated config values --- .../org/betterx/bclib/config/Configs.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/main/java/org/betterx/bclib/config/Configs.java b/src/main/java/org/betterx/bclib/config/Configs.java index cb099f8a..5670759c 100644 --- a/src/main/java/org/betterx/bclib/config/Configs.java +++ b/src/main/java/org/betterx/bclib/config/Configs.java @@ -5,8 +5,6 @@ import org.betterx.bclib.BCLib; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; -import java.util.Collections; - public class Configs { // Client and Server-Config must be the first entries. They are not part of the Auto-Sync process // But will be needed by other Auto-Sync Config-Files @@ -28,24 +26,4 @@ public class Configs { GENERATOR_CONFIG.saveChanges(); BIOMES_CONFIG.saveChanges(); } - - - static { - BIOMES_CONFIG.keeper.registerEntry( - new ConfigKey("end_land_biomes", "force_include"), - new ConfigKeeper.StringArrayEntry(Collections.EMPTY_LIST) - ); - BIOMES_CONFIG.keeper.registerEntry( - new ConfigKey("end_void_biomes", "force_include"), - new ConfigKeeper.StringArrayEntry(Collections.EMPTY_LIST) - ); - BIOMES_CONFIG.keeper.registerEntry( - new ConfigKey("nether_biomes", "force_include"), - new ConfigKeeper.StringArrayEntry(Collections.EMPTY_LIST) - ); - BIOMES_CONFIG.keeper.registerEntry( - new ConfigKey("nether_biomes", "force_exclude"), - new ConfigKeeper.StringArrayEntry(Collections.EMPTY_LIST) - ); - } }