diff options
| author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-01 13:18:32 +0200 |
|---|---|---|
| committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-06-01 13:18:32 +0200 |
| commit | 8ffd729c48338e253f6ffc18467fec2272527cf2 (patch) | |
| tree | f6be02699371dcc0a37bbe436b12eef357674fcf /src/main/java/at/hannibal2/skyhanni/features | |
| parent | 4a6e2b16fc0171124c2a900751a34f71c5e470cd (diff) | |
| download | skyhanni-8ffd729c48338e253f6ffc18467fec2272527cf2.tar.gz skyhanni-8ffd729c48338e253f6ffc18467fec2272527cf2.tar.bz2 skyhanni-8ffd729c48338e253f6ffc18467fec2272527cf2.zip | |
use SkyHanniModule in BeaconPower
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/BeaconPower.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
