Skip to content

Commit

Permalink
Fix for MixinParticleEngine
Browse files Browse the repository at this point in the history
  • Loading branch information
Asek3 committed Sep 5, 2023
1 parent ca4ca10 commit c31e98c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ public class MixinParticleEngine implements PhasedParticleEngine {
Map<ParticleRenderType, Queue<Particle>> 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) {
Expand Down

0 comments on commit c31e98c

Please sign in to comment.