Does anyone know how to remove all arrows inside of a player when they die because I am currently developing a KitPvP server and one of the kits is a assassin and if they get hit my an arrow and re-spawn the arrow is still in them and everyone can see where they are
Try something like this in your respawn event Code:java for (entity e : player.getNearbyEntites(2, 2, 2)) { if (e.getType() == EntityType.ARROW) { e.remove(); }}