aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorEmpa <42304516+ItsEmpa@users.noreply.github.com>2024-02-26 16:38:54 +0100
committerGitHub <noreply@github.com>2024-02-26 16:38:54 +0100
commitab737fe92e2631be619c8613da167dd8aab7984b (patch)
treec6c3264dd5677021e4aa2c95cc3b36ac35b8deee /src/main
parentd524a9979b1de74c07a90d806703e518b2b184a1 (diff)
downloadskyhanni-ab737fe92e2631be619c8613da167dd8aab7984b.tar.gz
skyhanni-ab737fe92e2631be619c8613da167dd8aab7984b.tar.bz2
skyhanni-ab737fe92e2631be619c8613da167dd8aab7984b.zip
Fixed current mayor taking 20 minutes to get loaded. #1061
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt b/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt
index e8abad8a9..e73a6bf14 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/MayorElection.kt
@@ -55,9 +55,8 @@ class MayorElection {
map put data.current.getPairs()
}
candidates = map
+ checkCurrentMayor()
}
-
- checkCurrentMayor()
}
private fun checkCurrentMayor() {