mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 04:15:44 +02:00
No damage effects on hp_max change (#11846)
This commit is contained in:
@@ -495,7 +495,7 @@ void PlayerSAO::setHP(s32 target_hp, const PlayerHPChangeReason &reason, bool fr
|
||||
m_hp = hp;
|
||||
m_env->getGameDef()->HandlePlayerHPChange(this, reason);
|
||||
} else if (from_client)
|
||||
m_env->getGameDef()->SendPlayerHP(this);
|
||||
m_env->getGameDef()->SendPlayerHP(this, true);
|
||||
}
|
||||
|
||||
void PlayerSAO::setBreath(const u16 breath, bool send)
|
||||
|
Reference in New Issue
Block a user