1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Revert "Detach the player from entities on death." (#5087)

This commit is contained in:
Loïc Blot 2017-01-21 17:30:55 +01:00 committed by GitHub
parent b9c1a758a1
commit bc29e03b59
5 changed files with 14 additions and 16 deletions

View file

@ -2560,8 +2560,6 @@ void Server::DiePlayer(u16 peer_id)
if (!playersao)
return;
playersao->detachFromParent();
infostream << "Server::DiePlayer(): Player "
<< playersao->getPlayer()->getName()
<< " dies" << std::endl;