Remove cloud particles from smoke grenade to reduce lag
This commit is contained in:
parent
53bbd75692
commit
efcf3db854
@ -43,9 +43,6 @@ public class Smoke extends Grenade
|
||||
// UtilParticle.PlayParticle(ParticleType.HUGE_EXPLOSION, ent.getLocation(), 0.3f, 0.3f, 0.3f, 0, 1,
|
||||
// ViewDist.MAX, UtilServer.getPlayers());
|
||||
|
||||
UtilParticle.PlayParticle(ParticleType.CLOUD, ent.getLocation(), 1.5f, 1.5f, 1.5f, 0, 100,
|
||||
ViewDist.MAX, UtilServer.getPlayers());
|
||||
|
||||
|
||||
ent.getWorld().playSound(ent.getLocation(), Sound.FIZZ, 0.1f, 0.1f);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user