From 208df93739a584925855e635a48487c785ab9a3f Mon Sep 17 00:00:00 2001 From: NewGarbo Date: Mon, 25 Jan 2016 17:02:02 +0000 Subject: [PATCH] fixed fire particles not showing up in craters --- .../mineplex/game/clans/clans/siege/cannon/CraterEffect.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/cannon/CraterEffect.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/cannon/CraterEffect.java index aa2392d77..15dbd111c 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/cannon/CraterEffect.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/cannon/CraterEffect.java @@ -13,8 +13,8 @@ public class CraterEffect private ParticleType _particle; private Location _location; - private long _birthTime; - private long _maxLifetime = 15000 + (UtilMath.random.nextInt(30000)); + private final long _birthTime = System.currentTimeMillis(); + private final long _maxLifetime = 15000 + (UtilMath.random.nextInt(30000)); public CraterEffect(ParticleType particle, Location location) { @@ -25,7 +25,6 @@ public class CraterEffect public void update() { UtilParticle.PlayParticle(_particle, _location, new Vector(0, 0, 0), .1f, 1, ViewDist.MAX); - System.out.println(_particle); } public long getLifetime()