diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-10-02 13:32:42 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2022-10-02 13:32:42 +0200 |
commit | 22dcc7c8954c595f5465d8bde20c077b57679465 (patch) | |
tree | 19d3ad517ee5ae120aa2b90b98b830cb702286c1 /src/main/java/at/hannibal2/skyhanni/data | |
parent | 64e9b2b7fcabbd816a48096a621cbec3abd93e4c (diff) | |
download | skyhanni-22dcc7c8954c595f5465d8bde20c077b57679465.tar.gz skyhanni-22dcc7c8954c595f5465d8bde20c077b57679465.tar.bz2 skyhanni-22dcc7c8954c595f5465d8bde20c077b57679465.zip |
renamed particle events
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt index 646f29847..9658ab2d3 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt @@ -1,8 +1,8 @@ package at.hannibal2.skyhanni.data import at.hannibal2.skyhanni.events.PacketEvent -import at.hannibal2.skyhanni.events.PlayParticleEvent import at.hannibal2.skyhanni.events.PlaySoundEvent +import at.hannibal2.skyhanni.events.ReceiveParticleEvent import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.LorenzVec import net.minecraft.network.play.server.S29PacketSoundEffect @@ -36,7 +36,7 @@ class MinecraftData { val packet = event.packet if (packet !is S2APacketParticles) return - if (PlayParticleEvent( + if (ReceiveParticleEvent( packet.particleType!!, LorenzVec(packet.xCoordinate, packet.yCoordinate, packet.zCoordinate), packet.particleCount, |