aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/events
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-15 18:08:46 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-15 18:08:46 +0100
commitd2e393512c7b61e4ab105bc22b064894e086394d (patch)
tree4a9db3c789745c146bd4d170a00e2539e703630d /src/main/java/at/hannibal2/skyhanni/events
parent7dac7aaefe9f2c3b250797709783c7c6b0202d9f (diff)
downloadskyhanni-d2e393512c7b61e4ab105bc22b064894e086394d.tar.gz
skyhanni-d2e393512c7b61e4ab105bc22b064894e086394d.tar.bz2
skyhanni-d2e393512c7b61e4ab105bc22b064894e086394d.zip
Added config save. Removed debugs.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/events')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/FirstConfigLoadedEvent.kt3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/events/RepositoryReloadEvent.kt2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/events/FirstConfigLoadedEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/FirstConfigLoadedEvent.kt
new file mode 100644
index 000000000..0213ae835
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/events/FirstConfigLoadedEvent.kt
@@ -0,0 +1,3 @@
+package at.hannibal2.skyhanni.events
+
+class FirstConfigLoadedEvent: LorenzEvent() \ No newline at end of file
diff --git a/src/main/java/at/hannibal2/skyhanni/events/RepositoryReloadEvent.kt b/src/main/java/at/hannibal2/skyhanni/events/RepositoryReloadEvent.kt
index f2c610e04..06fbc93d6 100644
--- a/src/main/java/at/hannibal2/skyhanni/events/RepositoryReloadEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/events/RepositoryReloadEvent.kt
@@ -5,7 +5,7 @@ import com.google.gson.Gson
import com.google.gson.JsonObject
import java.io.File
-class RepositoryReloadEvent(val repoLocation: File, val gson: Gson): LorenzEvent() {
+class RepositoryReloadEvent(private val repoLocation: File, val gson: Gson): LorenzEvent() {
fun getConstant(constant: String): JsonObject? {
return RepoUtils.getConstant(repoLocation, constant, gson)
}