You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a good idea to remove the default particle from the arrows.
You can do it with something like this:
public void on(final ProjectileLaunchEvent event) {
final Projectile entity = event.getEntity();
if (!(entity instanceof Arrow)) {
return;
}
final Arrow arrow = (Arrow)entity;
final ProjectileSource shooter = arrow.getShooter();
if (shooter instanceof Player) {
final Player player = (Player)shooter;
final Particle effect = this.trails.getParticle(player);
if (this.plugin.getConfig().getBoolean("remove-default-trail")) {
arrow.setCritical(false);
}
if (effect != null) {
arrow.setCritical(false);
new ArrowTrailRunnable(this.plugin, arrow, effect);
}
}
}
It looks ugly to have 2 particles on the same arrow.
The text was updated successfully, but these errors were encountered:
It is a good idea to remove the default particle from the arrows.
You can do it with something like this:
It looks ugly to have 2 particles on the same arrow.
The text was updated successfully, but these errors were encountered: