diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-14 00:16:57 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-04-14 00:16:57 +0200 |
commit | 0d3bd261a0a4979d016dedd83c3341a2a2913ad4 (patch) | |
tree | 8b214c23520f90f501cdf4eef70c6a7a01acc814 /src/main/java | |
parent | 8ea69e88f22411df8a35b9b89ad83b08e44e1364 (diff) | |
download | skyhanni-0d3bd261a0a4979d016dedd83c3341a2a2913ad4.tar.gz skyhanni-0d3bd261a0a4979d016dedd83c3341a2a2913ad4.tar.bz2 skyhanni-0d3bd261a0a4979d016dedd83c3341a2a2913ad4.zip |
fix crash
Diffstat (limited to 'src/main/java')
3 files changed, 6 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java index 92300f690..ace6ac04f 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/mining/MiningConfig.java @@ -33,11 +33,12 @@ public class MiningConfig { @Accordion public AreaWallsConfig crystalHollowsAreaWalls = new AreaWallsConfig(); + // TODO rename to fossilExcavator @Expose @ConfigOption(name = "Fossil Excavator", desc = "") @Accordion - public FossilExcavatorConfig fossilExcavator = new FossilExcavatorConfig(); - + public FossilExcavatorConfig fossilExcavator2 = new FossilExcavatorConfig(); + @Expose @ConfigOption(name = "Notifications", desc = "") @Accordion diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/ExcavatorProfitTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/ExcavatorProfitTracker.kt index b2bc4a910..a06e3a09b 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/ExcavatorProfitTracker.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/ExcavatorProfitTracker.kt @@ -26,7 +26,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class ExcavatorProfitTracker { - private val config get() = SkyHanniMod.feature.mining.fossilExcavator.profitTracker + private val config get() = SkyHanniMod.feature.mining.fossilExcavator2.profitTracker private val tracker = SkyHanniItemTracker( "Fossil Excavation Profit Tracker", diff --git a/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/solver/FossilSolverDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/solver/FossilSolverDisplay.kt index 590575ecd..41c0a28b7 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/solver/FossilSolverDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mining/fossilexcavator/solver/FossilSolverDisplay.kt @@ -27,7 +27,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent object FossilSolverDisplay { - private val config get() = SkyHanniMod.feature.mining.fossilExcavator.solver + private val config get() = SkyHanniMod.feature.mining.fossilExcavator2.solver private val patternGroup = RepoPattern.group("mining.fossilexcavator") private val chargesRemainingPattern by patternGroup.pattern( @@ -210,7 +210,7 @@ object FossilSolverDisplay { @SubscribeEvent fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { - event.move(36, "mining.fossilExcavator", "mining.fossilExcavator.solver") + event.move(36, "mining.fossilExcavator", "mining.fossilExcavator2.solver") } fun nextData(slotToClick: FossilTile, correctPercentage: Double, fossilsRemaining: Int) { |