mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27:59 +01:00
Fixed magic particles not randomising their colours when they're supposed to
This commit is contained in:
parent
baa3700748
commit
6a84f5d8b6
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue