From 3a11fcf67ac1c055ef8a8fdbfe158fdc8dc91a3d Mon Sep 17 00:00:00 2001 From: Eliy21 Date: Tue, 5 Dec 2023 05:21:39 +0000 Subject: [PATCH] Add warning log if players with 0 hp joined --- mods/PLAYER/mcl_playerplus/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/PLAYER/mcl_playerplus/init.lua b/mods/PLAYER/mcl_playerplus/init.lua index 0ad34cae8..b128d2198 100644 --- a/mods/PLAYER/mcl_playerplus/init.lua +++ b/mods/PLAYER/mcl_playerplus/init.lua @@ -675,6 +675,7 @@ minetest.register_on_joinplayer(function(player) -- Respawn dead players on joining if hp <= 0 then player:respawn() + minetest.log("warning", "Player with 0 hp joined and has been forced to respawn") end end)