Skip to content

Commit

Permalink
EntityDeathListener: Added handling for Ghast Fireballs
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
mindsolve committed Jul 2, 2021
1 parent 91f931d commit 76e47f9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ public void onEntityDeath(EntityDeathEvent event) {
deathMessage.append(TextComponentHelper.itemToTextComponent(item));
}
} else if (damager instanceof ShulkerBullet) {
deathMessage.append("by redirecting a shulker bullet");
deathMessage.append("by redirecting a Shulker Bullet");

} else if (damager instanceof Fireball) {
deathMessage.append("by redirecting a Ghast Fireball");

} else {
Projectile projectileDamager = (Projectile) damager;
Expand Down

0 comments on commit 76e47f9

Please sign in to comment.