generated from MrSphay/codex-agent-repository-kit
This commit is contained in:
@@ -61,7 +61,7 @@ public class SpawnCustomGlowPacket {
|
||||
|
||||
public static class ClientPacketHandler {
|
||||
public static void handlePacket(SpawnCustomGlowPacket msg) {
|
||||
ClientLevel level = Minecraft.m_91087_().f_91073_;
|
||||
ClientLevel level = Minecraft.getInstance().f_91073_;
|
||||
if (level != null) {
|
||||
CustomGlowParticleOptions options = new CustomGlowParticleOptions(msg.zone, msg.power, msg.scale, 0, msg.centerY, msg.maxRadius, msg.heightPercent);
|
||||
level.m_7106_((ParticleOptions)options, msg.pos.f_82479_, msg.pos.f_82480_, msg.pos.f_82481_, msg.motion.f_82479_, msg.motion.f_82480_, msg.motion.f_82481_);
|
||||
|
||||
Reference in New Issue
Block a user