fixed fire particles not showing up in craters
This commit is contained in:
parent
ce36cf79bf
commit
208df93739
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user