Particle render distance.
This commit is contained in:
parent
3128a6005b
commit
9f3c3589b2
|
@ -628,7 +628,7 @@ public class TypeWars extends TeamGame
|
|||
giant.teleport(loc);
|
||||
giant.getWorld().playSound(giant.getLocation(), Sound.ZOMBIE_WOODBREAK, 100, 1);
|
||||
giant.getWorld().playSound(giant.getLocation(), Sound.ZOMBIE_IDLE, 1, 1);
|
||||
UtilParticle.PlayParticle(ParticleType.LARGE_EXPLODE, minion.getEntity().getLocation(), 0, 0, 0, 1, 1, ViewDist.NORMAL, UtilServer.getPlayers());
|
||||
UtilParticle.PlayParticle(ParticleType.LARGE_EXPLODE, minion.getEntity().getLocation(), 0, 0, 0, 1, 1, ViewDist.LONG, UtilServer.getPlayers());
|
||||
|
||||
minion.despawn(null, true);
|
||||
if(!minion.hasLives())
|
||||
|
@ -1139,7 +1139,7 @@ public class TypeWars extends TeamGame
|
|||
|
||||
if(cansee)
|
||||
{
|
||||
UtilParticle.PlayParticle(UtilParticle.ParticleType.HUGE_EXPLOSION, location, 0, 0, 0, 0, 1, ViewDist.NORMAL, UtilServer.getPlayers());
|
||||
UtilParticle.PlayParticle(UtilParticle.ParticleType.HUGE_EXPLOSION, location, 0, 0, 0, 0, 1, ViewDist.LONG, UtilServer.getPlayers());
|
||||
for(Player players : GetPlayers(false))
|
||||
players.playSound(location, Sound.EXPLODE, 1, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue