summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data/repo
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-02-25 21:44:13 +1100
committerGitHub <noreply@github.com>2024-02-25 11:44:13 +0100
commit2a8edee6275a4abe3375351455c27d2ee56f9c36 (patch)
treec92a63bcd9e8c2614beef7cbeb83d97247a6d3c0 /src/main/java/at/hannibal2/skyhanni/data/repo
parent190d97aeb18bbb02778b206404d7084c648038dd (diff)
downloadskyhanni-2a8edee6275a4abe3375351455c27d2ee56f9c36.tar.gz
skyhanni-2a8edee6275a4abe3375351455c27d2ee56f9c36.tar.bz2
skyhanni-2a8edee6275a4abe3375351455c27d2ee56f9c36.zip
/gfs tab complete now uses NEU's Repo instead of SkyHanni Repo. #1053
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data/repo')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
index 021dd183b..19fba633b 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/repo/RepoManager.kt
@@ -3,6 +3,7 @@ package at.hannibal2.skyhanni.data.repo
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.config.ConfigManager
import at.hannibal2.skyhanni.events.DebugDataCollectEvent
+import at.hannibal2.skyhanni.events.NeuRepositoryReloadEvent
import at.hannibal2.skyhanni.events.RepositoryReloadEvent
import at.hannibal2.skyhanni.test.command.ErrorManager
import at.hannibal2.skyhanni.utils.ChatUtils
@@ -279,4 +280,9 @@ class RepoManager(private val configLocation: File) {
)
).use { writer -> writer.write(gson.toJson(json)) }
}
+
+ @SubscribeEvent
+ fun onNeuRepoReload(event: io.github.moulberry.notenoughupdates.events.RepositoryReloadEvent) {
+ NeuRepositoryReloadEvent().postAndCatch()
+ }
}