aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
index af3518141..f9403af94 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonAPI.kt
@@ -135,7 +135,7 @@ class DungeonAPI {
}
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
val floor = dungeonFloor
if (floor != null) {
if (event.message == "§e[NPC] §bMort§f: §rHere, I found this map when I first entered the dungeon.") {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt
index 86d64b416..51ee98029 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonBossMessages.kt
@@ -44,7 +44,7 @@ class DungeonBossMessages {
)
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!LorenzUtils.inDungeons) return
if (!isBoss(event.message)) return
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
index 3a29ac603..a133cb6be 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonChatFilter.kt
@@ -190,7 +190,7 @@ class DungeonChatFilter {
/// </editor-fold>
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!LorenzUtils.onHypixel || config.dungeonFilteredMessageTypes.isEmpty()) return
// Workaround since the potion message gets always sent at that moment when SkyBlock is set as false
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
index 06f43c51f..4ee2c8761 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
@@ -31,7 +31,7 @@ class DungeonCleanEnd {
private var lastBossId: Int = -1
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!LorenzUtils.inDungeons) return
if (!config.enabled) return
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt
index 1dcc92dab..32ee7cebe 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCopilot.kt
@@ -32,7 +32,7 @@ class DungeonCopilot {
private var searchForKey = false
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!isEnabled()) return
copilot(event.message)?.let {
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt
index 36c9f780d..a3381744c 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHighlightClickedBlocks.kt
@@ -29,7 +29,7 @@ class DungeonHighlightClickedBlocks {
}
@SubscribeEvent
- fun onChatMessage(event: LorenzChatEvent) {
+ fun onChat(event: LorenzChatEvent) {
if (!SkyHanniMod.feature.dungeon.highlightClickedBlocks) return
if (!LorenzUtils.inDungeons) return