Track spectral arrows for combat

This commit is contained in:
Shane Freeder
2020-01-28 16:37:02 +00:00
parent dceee5554d
commit 816b64cb70
2 changed files with 5 additions and 1 deletions

View File

@ -380,7 +380,7 @@ public final class CombatUtils {
}
}
}
else if (entityType == EntityType.ARROW) {
else if (entityType == EntityType.ARROW || entityType == EntityType.SPECTRAL_ARROW) {
Arrow arrow = (Arrow) damager;
ProjectileSource projectileSource = arrow.getShooter();