summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
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/dungeon
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/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt
index 5584ee216..ea94117af 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/CroesusChestTracker.kt
@@ -173,7 +173,7 @@ class CroesusChestTracker {
}
@SubscribeEvent
- fun onSlotClicked(event: GuiContainerEvent.SlotClickEvent) {
+ fun onSlotClick(event: GuiContainerEvent.SlotClickEvent) {
if (!LorenzUtils.inSkyBlock) return
if (!config.showUsedKismets) return
if (chestInventory != null && event.slotId == kismetSlotId) {
@@ -199,7 +199,7 @@ class CroesusChestTracker {
}
@SubscribeEvent
- fun onRenderItemTipAmount(event: RenderItemTipEvent) {
+ fun onRenderItemTip(event: RenderItemTipEvent) {
if (!LorenzUtils.inSkyBlock) return
if (!config.kismetStackSize) return
if (chestInventory == null) return
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt
index 5f78d5886..57afa54cb 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonDeathCounter.kt
@@ -51,7 +51,7 @@ class DungeonDeathCounter {
deathPatternsList.any { it.matches(message) }
@SubscribeEvent(receiveCanceled = true)
- fun onChatPacket(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!isEnabled()) return
if (isDeathMessage(event.message)) {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt
index 1614ad8ab..b561f52c6 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonFinderFeatures.kt
@@ -289,7 +289,7 @@ class DungeonFinderFeatures {
}
@SubscribeEvent
- fun onToolTipRender(event: LorenzToolTipEvent) {
+ fun onTooltip(event: LorenzToolTipEvent) {
if (!isEnabled()) return
if (!inInventory) return
val toolTip = toolTipMap[event.slot.slotIndex]
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
index d845edbbf..82002040c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
@@ -166,7 +166,7 @@ class DungeonHideItems {
}
@SubscribeEvent
- fun onReceivePacket(event: ReceiveParticleEvent) {
+ fun onReceiveParticle(event: ReceiveParticleEvent) {
if (!LorenzUtils.inDungeons) return
if (!config.hideSuperboomTNT && !config.hideReviveStone) return