summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/event
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/features/event
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/features/event')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/UniqueGiftingOpportunitiesFeatures.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/anniversary/Year300RaffleEvent.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/UniqueGiftingOpportunitiesFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/event/UniqueGiftingOpportunitiesFeatures.kt
index 904391bab..020831405 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/UniqueGiftingOpportunitiesFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/UniqueGiftingOpportunitiesFeatures.kt
@@ -72,7 +72,7 @@ object UniqueGiftingOpportunitiesFeatures {
}
@SubscribeEvent
- fun onEntityJoinWorldEvent(event: EntityJoinWorldEvent) {
+ fun onEntityJoinWorld(event: EntityJoinWorldEvent) {
playerColor(event)
val entity = event.entity as? EntityArmorStand ?: return
analyzeArmorStand(entity)
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/Year300RaffleEvent.kt b/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/Year300RaffleEvent.kt
index 8e22d2a76..a40dacca6 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/Year300RaffleEvent.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/anniversary/Year300RaffleEvent.kt
@@ -41,7 +41,7 @@ object Year300RaffleEvent {
Instant.now().isBefore(SkyBlockTime(301).toInstant())
@SubscribeEvent
- fun onRender(event: GuiRenderEvent.GuiOverlayRenderEvent) {
+ fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) {
config.activeTimerPosition.renderSingleLineWithItems(
overlay ?: return,
posLabel = "300þ Anniversary Active Timer"
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt
index 7b3e0003b..bb5c1271b 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/event/diana/BurrowWarpHelper.kt
@@ -44,7 +44,7 @@ class BurrowWarpHelper {
}
@SubscribeEvent
- fun onStatusBar(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!LorenzUtils.inSkyBlock) return
if (event.message == "§cYou haven't unlocked this fast travel destination!") {