aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-01-18 21:39:21 +0100
committerGitHub <noreply@github.com>2024-01-18 21:39:21 +0100
commitb8adb961f50d17c02dbccbbb00376a2f728c819b (patch)
tree5cc607aa60c46f2556d9c7552f20336e362aec91 /src/main/java/at/hannibal2/skyhanni/SkyHanniMod.kt
parent1bf29e31e35c4eb1a40fe0a7dfd111955ef48322 (diff)
downloadskyhanni-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.kt3
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)