mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Show death message on death screen (#5386)
This commit is contained in:
@ -2300,7 +2300,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
||||
|
||||
$this->startDeathAnimation();
|
||||
|
||||
$this->getNetworkSession()->onServerDeath();
|
||||
$this->getNetworkSession()->onServerDeath($ev->getDeathMessage());
|
||||
}
|
||||
|
||||
protected function onDeathUpdate(int $tickDiff) : bool{
|
||||
|
Reference in New Issue
Block a user