diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 7167a6686..f3c13bad1 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1426,7 +1426,7 @@ void Server::SendMovement(session_t peer_id) void Server::SendPlayerHPOrDie(PlayerSAO *playersao, const PlayerHPChangeReason &reason) { - if (!g_settings->getBool("enable_damage")) + if (playersao->isImmortal()) return; session_t peer_id = playersao->getPeerID(); |