diff options
author | Linnea Gräf <nea@nea.moe> | 2024-01-18 21:39:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 21:39:21 +0100 |
commit | b8adb961f50d17c02dbccbbb00376a2f728c819b (patch) | |
tree | 5cc607aa60c46f2556d9c7552f20336e362aec91 /src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt | |
parent | 1bf29e31e35c4eb1a40fe0a7dfd111955ef48322 (diff) | |
download | skyhanni-b8adb961f50d17c02dbccbbb00376a2f728c819b.tar.gz skyhanni-b8adb961f50d17c02dbccbbb00376a2f728c819b.tar.bz2 skyhanni-b8adb961f50d17c02dbccbbb00376a2f728c819b.zip |
Add hotswap agent support (#910)
Added hotswap detection and reloading all listeners on hotswap. #910
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt index f7c257706..addfbf1f0 100644 --- a/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt +++ b/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt @@ -341,6 +341,7 @@ import at.hannibal2.skyhanni.test.TestExportTools import at.hannibal2.skyhanni.test.TestShowSlotNumber import at.hannibal2.skyhanni.test.WorldEdit import at.hannibal2.skyhanni.test.command.CopyNearbyParticlesCommand +import at.hannibal2.skyhanni.test.hotswap.HotswapSupport import at.hannibal2.skyhanni.utils.EntityOutlineRenderer import at.hannibal2.skyhanni.utils.KeyboardManager import at.hannibal2.skyhanni.utils.LorenzUtils @@ -378,6 +379,8 @@ class SkyHanniMod { fun preInit(event: FMLPreInitializationEvent?) { checkIfNeuIsLoaded() + HotswapSupport.load() + // data loadModule(this) loadModule(ChatManager) |