mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Give full breath after death
This commit is contained in:
committed by
Craig Robbins
parent
5e075c3344
commit
929e0b0ad8
@@ -4294,6 +4294,7 @@ void Server::RespawnPlayer(u16 peer_id)
|
||||
<<" respawns"<<std::endl;
|
||||
|
||||
playersao->setHP(PLAYER_MAX_HP);
|
||||
playersao->setBreath(PLAYER_MAX_BREATH);
|
||||
|
||||
bool repositioned = m_script->on_respawnplayer(playersao);
|
||||
if(!repositioned){
|
||||
|
Reference in New Issue
Block a user