diff options
Diffstat (limited to 'src/network/packethandlers/server.cpp')
-rw-r--r-- | src/network/packethandlers/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/packethandlers/server.cpp b/src/network/packethandlers/server.cpp index 9070be356..bb3a53463 100644 --- a/src/network/packethandlers/server.cpp +++ b/src/network/packethandlers/server.cpp @@ -1335,7 +1335,7 @@ void Server::handleCommand_Respawn(NetworkPacket* pkt) return; } - if (!player->isDead() || !g_settings->getBool("enable_damage")) + if (!player->isDead()) return; RespawnPlayer(pkt->getPeerId()); |