mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-09 13:14:54 +00:00
Added explosion death message
This commit is contained in:
parent
30c3718ea8
commit
ef97efcd96
@ -2424,6 +2424,9 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
|||||||
|
|
||||||
case EntityDamageEvent::CAUSE_BLOCK_EXPLOSION:
|
case EntityDamageEvent::CAUSE_BLOCK_EXPLOSION:
|
||||||
case EntityDamageEvent::CAUSE_ENTITY_EXPLOSION:
|
case EntityDamageEvent::CAUSE_ENTITY_EXPLOSION:
|
||||||
|
$message = $this->getName() . " blew up";
|
||||||
|
break;
|
||||||
|
|
||||||
case EntityDamageEvent::CAUSE_MAGIC:
|
case EntityDamageEvent::CAUSE_MAGIC:
|
||||||
case EntityDamageEvent::CAUSE_CUSTOM:
|
case EntityDamageEvent::CAUSE_CUSTOM:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user