diff options
| author | Walker Selby <git@walkerselby.com> | 2024-05-06 08:22:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-06 17:22:31 +0200 |
| commit | 3132204c8e586c9b3fb66260032a0c867974e7e5 (patch) | |
| tree | b071e1efe8e981a7cbc0addbd3a543a24dbab86d /src/main/java/at/hannibal2/skyhanni/data | |
| parent | 91b84552e80f2868e5688f311f407def7186d502 (diff) | |
| download | skyhanni-3132204c8e586c9b3fb66260032a0c867974e7e5.tar.gz skyhanni-3132204c8e586c9b3fb66260032a0c867974e7e5.tar.bz2 skyhanni-3132204c8e586c9b3fb66260032a0c867974e7e5.zip | |
Backend: Migrate and Simplify SkyBlockTime.kt from NEU -> SkyHanni (#1710)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
| -rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt index 57cabd742..ef9850a4c 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MayorAPI.kt @@ -15,9 +15,9 @@ import at.hannibal2.skyhanni.utils.ConditionalUtils.onToggle import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.SimpleTimeMark import at.hannibal2.skyhanni.utils.SimpleTimeMark.Companion.asTimeMark +import at.hannibal2.skyhanni.utils.SkyBlockTime import at.hannibal2.skyhanni.utils.StringUtils.matches import at.hannibal2.skyhanni.utils.repopatterns.RepoPattern -import io.github.moulberry.notenoughupdates.util.SkyBlockTime import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext @@ -32,7 +32,7 @@ object MayorAPI { "foxy.extraevent", "Schedules an extra §.(?<event>.*) §.event during the year\\." ) - val electionOver by group.pattern( + private val electionOver by group.pattern( "election.over", "§eThe election room is now closed\\. Clerk Seraphine is doing a final count of the votes\\.\\.\\." ) |
