aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-24 18:17:49 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-24 18:17:49 +0200
commit105bc5ee1593a8c16842026c600fc9ffcd2977e5 (patch)
treeeac46eff6887879edfc21092c539eb2988a64897 /src/main/java/at/hannibal2/skyhanni/features
parentd9e177dbd5a79a779e90acc98cd0b38665ab2cc8 (diff)
parent72f51afe202e8d3ddef85ca3801809b0ee463893 (diff)
downloadskyhanni-105bc5ee1593a8c16842026c600fc9ffcd2977e5.tar.gz
skyhanni-105bc5ee1593a8c16842026c600fc9ffcd2977e5.tar.bz2
skyhanni-105bc5ee1593a8c16842026c600fc9ffcd2977e5.zip
Merge remote-tracking branch 'origin/beta' into beta
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt
index 3dbba1cfb..9e998514c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/update/UpdateManager.kt
@@ -117,6 +117,9 @@ object UpdateManager {
CurrentVersion.ofTag(SkyHanniMod.version),
SkyHanniMod.MODID,
)
+ init {
+ context.cleanup()
+ }
enum class UpdateState {
AVAILABLE,
@@ -126,4 +129,4 @@ object UpdateManager {
}
var potentialUpdate: PotentialUpdate? = null
-} \ No newline at end of file
+}