diff options
author | Linnea Gräf <nea@nea.moe> | 2024-04-14 22:22:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-14 22:22:51 +0200 |
commit | a1e6aeeeeb240cea8919c2b40c9a4b419911928a (patch) | |
tree | d247497fb515bd64e54bd45c0a957760f3fc2151 /src/main/java/at/hannibal2/skyhanni/features | |
parent | 3c09b16b7f6a53c3d429c7060c7a851e3e122159 (diff) | |
download | skyhanni-a1e6aeeeeb240cea8919c2b40c9a4b419911928a.tar.gz skyhanni-a1e6aeeeeb240cea8919c2b40c9a4b419911928a.tar.bz2 skyhanni-a1e6aeeeeb240cea8919c2b40c9a4b419911928a.zip |
Fix self reference occuring when performing an internalizing config move (#1447)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
2 files changed, 3 insertions, 2 deletions
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 a06e3a09b..b2bc4a910 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.fossilExcavator2.profitTracker + private val config get() = SkyHanniMod.feature.mining.fossilExcavator.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 41c0a28b7..5ddf8b857 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.fossilExcavator2.solver + private val config get() = SkyHanniMod.feature.mining.fossilExcavator.solver private val patternGroup = RepoPattern.group("mining.fossilexcavator") private val chargesRemainingPattern by patternGroup.pattern( @@ -211,6 +211,7 @@ object FossilSolverDisplay { @SubscribeEvent fun onConfigFix(event: ConfigUpdaterMigrator.ConfigFixEvent) { event.move(36, "mining.fossilExcavator", "mining.fossilExcavator2.solver") + event.move(37, "mining.fossilExcavator2", "mining.fossilExcavator") } fun nextData(slotToClick: FossilTile, correctPercentage: Double, fossilsRemaining: Int) { |