NetworkSession: rename some badly-named hooks

This commit is contained in:
Dylan K. Taylor
2020-11-10 15:01:48 +00:00
parent e23379c34b
commit 75f2f12b99
2 changed files with 9 additions and 9 deletions

View File

@ -2149,7 +2149,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
$this->startDeathAnimation();
$this->networkSession->onDeath();
$this->networkSession->onServerDeath();
}
protected function onDeathUpdate(int $tickDiff) : bool{
@ -2187,7 +2187,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
$this->spawnToAll();
$this->scheduleUpdate();
$this->networkSession->onRespawn();
$this->networkSession->onServerRespawn();
}
protected function applyPostDamageEffects(EntityDamageEvent $source) : void{