Show death message on death screen (#5386)

This commit is contained in:
IvanCraft623
2022-12-22 10:36:31 -05:00
committed by GitHub
parent ee7d4728d8
commit a9e5f92958
3 changed files with 28 additions and 4 deletions

View File

@ -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{