aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/HideBlazeParticles.kt
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/HideBlazeParticles.kt
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/HideBlazeParticles.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/HideBlazeParticles.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/HideBlazeParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/HideBlazeParticles.kt
index 1216afe6a..6387ab145 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/HideBlazeParticles.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/HideBlazeParticles.kt
@@ -1,7 +1,7 @@
package at.hannibal2.skyhanni.features
import at.hannibal2.skyhanni.SkyHanniMod
-import at.hannibal2.skyhanni.events.SpawnParticleEvent
+import at.hannibal2.skyhanni.events.RenderParticleEvent
import at.hannibal2.skyhanni.utils.EntityUtils.getEntitiesNearby
import at.hannibal2.skyhanni.utils.LorenzVec
import net.minecraft.client.Minecraft
@@ -12,7 +12,7 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class HideBlazeParticles {
@SubscribeEvent
- fun onSpawnParticle(event: SpawnParticleEvent) {
+ fun onSpawnParticle(event: RenderParticleEvent) {
val particleId = event.particleId
if (!SkyHanniMod.feature.misc.hideBlazeParticles) return