commit b19d2922c3db8505f30716a685f83c1edb168a17
parent ead65b77e6ef22dfd43635d3e56c491d040c4e52
Author: UselessBullets <80850784+UselessBullets@users.noreply.github.com>
Date: Wed, 10 Jan 2024 01:56:52 -0600
1
Diffstat:
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/gradle.properties b/gradle.properties
@@ -7,9 +7,9 @@ bta_version=1.7.7.0_02
loader_version=0.14.19-babric.1-bta
# HalpLibe
-halplibe_version=2.5.0
+halplibe_version=2.6.0
# Mod
-mod_version=0.2.0
+mod_version=0.2.1
mod_group=turniplabs
-mod_name=simple-tech
+mod_name=simple-tech-useless
diff --git a/src/main/java/turniplabs/simpletech/SimpleTech.java b/src/main/java/turniplabs/simpletech/SimpleTech.java
@@ -13,7 +13,6 @@ import org.slf4j.LoggerFactory;
import turniplabs.halplibe.helper.BlockBuilder;
import turniplabs.halplibe.helper.EntityHelper;
import turniplabs.halplibe.helper.RecipeHelper;
-import turniplabs.halplibe.util.ConfigUpdater;
import turniplabs.halplibe.util.TomlConfigHandler;
import turniplabs.halplibe.util.toml.Toml;
import turniplabs.simpletech.block.*;
@@ -50,10 +49,8 @@ public class SimpleTech implements ModInitializer {
configToml.addEntry("Settings.FAN_RANGE", 4);
configToml.addCategory("GUI");
configToml.addEntry("GUI.ALLOCATOR_GUI_ID", 13);
- ConfigUpdater stupidDesignDecision = new ConfigUpdater() {public void update() {}};
-
- config = new TomlConfigHandler(stupidDesignDecision, MOD_ID, configToml);
+ config = new TomlConfigHandler(MOD_ID, configToml);
FAN_RANGE = config.getInt("Settings.FAN_RANGE");
UNPOWERED_FAN_ID = config.getInt("BlockIDs.UNPOWERED_FAN_ID");
POWERED_FAN_ID = config.getInt("BlockIDs.POWERED_FAN_ID");
diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json
@@ -25,7 +25,7 @@
],
"depends": {
"fabricloader": ">=0.13.3",
- "halplibe": ">=2.1.6",
+ "halplibe": ">=2.6.0",
"minecraft": ">=1.7.7.0"
},
"suggests": {