aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-01 13:18:32 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-01 13:18:32 +0200
commit8ffd729c48338e253f6ffc18467fec2272527cf2 (patch)
treef6be02699371dcc0a37bbe436b12eef357674fcf /src/main/java/at/hannibal2
parent4a6e2b16fc0171124c2a900751a34f71c5e470cd (diff)
downloadskyhanni-8ffd729c48338e253f6ffc18467fec2272527cf2.tar.gz
skyhanni-8ffd729c48338e253f6ffc18467fec2272527cf2.tar.bz2
skyhanni-8ffd729c48338e253f6ffc18467fec2272527cf2.zip
use SkyHanniModule in BeaconPower
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/BeaconPower.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
index d56b17d73..6fd2154e8 100644
--- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
+++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
@@ -252,7 +252,6 @@ import at.hannibal2.skyhanni.features.garden.visitor.NPCVisitorFix
import at.hannibal2.skyhanni.features.garden.visitor.VisitorAPI
import at.hannibal2.skyhanni.features.garden.visitor.VisitorListener
import at.hannibal2.skyhanni.features.garden.visitor.VisitorRewardWarning
-import at.hannibal2.skyhanni.features.gui.BeaconPower
import at.hannibal2.skyhanni.features.gui.MovableHotBar
import at.hannibal2.skyhanni.features.gui.customscoreboard.CustomScoreboard
import at.hannibal2.skyhanni.features.gui.customscoreboard.ScoreboardPattern
@@ -937,7 +936,6 @@ class SkyHanniMod {
loadModule(PestFinder)
loadModule(PestParticleWaypoint())
loadModule(StereoHarmonyDisplay())
- loadModule(BeaconPower())
loadModule(PestParticleLine())
loadModule(SprayFeatures())
loadModule(DojoRankDisplay())
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/BeaconPower.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/BeaconPower.kt
index 04ab13333..259298b86 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/gui/BeaconPower.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/gui/BeaconPower.kt
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.data.ProfileStorageData
import at.hannibal2.skyhanni.events.GuiRenderEvent
import at.hannibal2.skyhanni.events.InventoryUpdatedEvent
import at.hannibal2.skyhanni.events.SecondPassedEvent
+import at.hannibal2.skyhanni.skyhannimodule.SkyHanniModule
import at.hannibal2.skyhanni.utils.ItemUtils.getLore
import at.hannibal2.skyhanni.utils.LorenzUtils
import at.hannibal2.skyhanni.utils.RegexUtils.matchMatcher
@@ -17,7 +18,8 @@ import at.hannibal2.skyhanni.utils.TimeUtils.format
import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
-class BeaconPower {
+@SkyHanniModule
+object BeaconPower {
private val storage get() = ProfileStorageData.profileSpecific?.beaconPower
private val config get() = SkyHanniMod.feature.gui