From 6a84f5d8b65eb10ccc12c3273578fb9d6d77916b Mon Sep 17 00:00:00 2001 From: Sollace Date: Mon, 27 Dec 2021 02:15:17 +0200 Subject: [PATCH] Fixed magic particles not randomising their colours when they're supposed to --- .../minelittlepony/unicopia/client/particle/MagicParticle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/client/particle/MagicParticle.java b/src/main/java/com/minelittlepony/unicopia/client/particle/MagicParticle.java index 604ceded..6becb08c 100644 --- a/src/main/java/com/minelittlepony/unicopia/client/particle/MagicParticle.java +++ b/src/main/java/com/minelittlepony/unicopia/client/particle/MagicParticle.java @@ -37,7 +37,7 @@ public class MagicParticle extends SpriteBillboardParticle { colorAlpha = 0.7F; colorGreen *= 0.3F; - if (effect instanceof MagicParticleEffect) { + if (effect instanceof MagicParticleEffect && ((MagicParticleEffect)effect).hasTint()) { MagicParticleEffect parameters = (MagicParticleEffect)effect; colorRed = parameters.getColor().getX();