aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-04-04 05:10:32 +1100
committerGitHub <noreply@github.com>2024-04-03 20:10:32 +0200
commita7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56 (patch)
tree8db33de28c4ed5b922dc180105a1e81ae19e300d /src/main/java/at/hannibal2/skyhanni/utils
parentb19e2ed181ef8618d71ad33960befceff510cfa9 (diff)
downloadskyhanni-a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56.tar.gz
skyhanni-a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56.tar.bz2
skyhanni-a7c6e08864f4d7a2ebf5776d2b4d5c8f1a691b56.zip
Backend: Make all event names uniform (#1290)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
index d2f12b1d0..180eaf5a2 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/ChatUtils.kt
@@ -206,7 +206,7 @@ object ChatUtils {
(lastMessageSent + sendQueue.size * messageDelay).takeIf { !it.isInPast() } ?: SimpleTimeMark.now()
@SubscribeEvent
- fun sendQueuedChatMessages(event: LorenzTickEvent) {
+ fun onTick(event: LorenzTickEvent) {
val player = Minecraft.getMinecraft().thePlayer
if (player == null) {
sendQueue.clear()
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt
index 97f9196f2..15dbfbaf0 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPatternManager.kt
@@ -92,7 +92,7 @@ object RepoPatternManager {
}
@SubscribeEvent
- fun onConfigInit(event: ConfigLoadEvent) {
+ fun onConfigLoad(event: ConfigLoadEvent) {
config.forceLocal.afterChange { reloadPatterns() }
}