From c31e98c6c7bbde3fd7ce9a4c772d5d4f75eefc03 Mon Sep 17 00:00:00 2001 From: Asek3 <64613894+Asek3@users.noreply.github.com> Date: Tue, 5 Sep 2023 21:42:39 +0300 Subject: [PATCH] Fix for MixinParticleEngine --- .../net/coderbot/iris/mixin/fantastic/MixinParticleEngine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/coderbot/iris/mixin/fantastic/MixinParticleEngine.java b/src/main/java/net/coderbot/iris/mixin/fantastic/MixinParticleEngine.java index 8de2375af0..766eb451c1 100644 --- a/src/main/java/net/coderbot/iris/mixin/fantastic/MixinParticleEngine.java +++ b/src/main/java/net/coderbot/iris/mixin/fantastic/MixinParticleEngine.java @@ -76,7 +76,8 @@ public class MixinParticleEngine implements PhasedParticleEngine { Map> toRender = new HashMap<>(particles); if (phase == ParticleRenderingPhase.TRANSLUCENT) { // Remove all known opaque particle texture sheets. - toRender.remove(OPAQUE_PARTICLE_RENDER_TYPES); + for(ParticleRenderType type : OPAQUE_PARTICLE_RENDER_TYPES) + toRender.remove(type); return toRender; } else if (phase == ParticleRenderingPhase.OPAQUE) {