aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/dungeon
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-10-02 13:32:42 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-10-02 13:32:42 +0200
commit22dcc7c8954c595f5465d8bde20c077b57679465 (patch)
tree19d3ad517ee5ae120aa2b90b98b830cb702286c1 /src/main/java/at/hannibal2/skyhanni/features/dungeon
parent64e9b2b7fcabbd816a48096a621cbec3abd93e4c (diff)
downloadskyhanni-22dcc7c8954c595f5465d8bde20c077b57679465.tar.gz
skyhanni-22dcc7c8954c595f5465d8bde20c077b57679465.tar.bz2
skyhanni-22dcc7c8954c595f5465d8bde20c077b57679465.zip
renamed particle events
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/dungeon')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt2
2 files changed, 2 insertions, 2 deletions
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 86c2a770b..e8eda0785 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
@@ -105,7 +105,7 @@ class DungeonCleanEnd {
}
@SubscribeEvent
- fun onPlayParticle(event: PlayParticleEvent) {
+ fun onPlayParticle(event: ReceiveParticleEvent) {
if (shouldBlock()) {
event.isCanceled = true
}
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 6fbc542c0..f1c80062f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonHideItems.kt
@@ -173,7 +173,7 @@ class DungeonHideItems {
}
@SubscribeEvent
- fun onReceivePacket(event: PlayParticleEvent) {
+ fun onReceivePacket(event: ReceiveParticleEvent) {
if (!LorenzUtils.inDungeons) return
if (!SkyHanniMod.feature.dungeon.hideSuperboomTNT && !SkyHanniMod.feature.dungeon.hideReviveStone) return