aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/slayer
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/slayer
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/slayer')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
index 757f401a2..8a9f58718 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/blaze/BlazeSlayerClearView.kt
@@ -2,8 +2,8 @@ package at.hannibal2.skyhanni.features.slayer.blaze
import at.hannibal2.skyhanni.SkyHanniMod
import at.hannibal2.skyhanni.events.CheckRenderEntityEvent
-import at.hannibal2.skyhanni.events.PlayParticleEvent
-import at.hannibal2.skyhanni.events.SpawnParticleEvent
+import at.hannibal2.skyhanni.events.ReceiveParticleEvent
+import at.hannibal2.skyhanni.events.RenderParticleEvent
import at.hannibal2.skyhanni.features.damageindicator.BossType
import at.hannibal2.skyhanni.features.damageindicator.DamageIndicatorManager
import at.hannibal2.skyhanni.utils.EntityUtils.hasSkullTexture
@@ -40,14 +40,14 @@ class BlazeSlayerClearView {
}
@SubscribeEvent
- fun onReceivePacket(event: PlayParticleEvent) {
+ fun onReceivePacket(event: ReceiveParticleEvent) {
if (isEnabled()) {
event.isCanceled = true
}
}
@SubscribeEvent
- fun onSpawnParticle(event: SpawnParticleEvent) {
+ fun onSpawnParticle(event: RenderParticleEvent) {
if (isEnabled()) {
when (event.callerClass) {
"net.minecraft.block.BlockFire",