diff --git a/mods/player/init.lua b/mods/player/init.lua index 3c26b7d..a9d4625 100644 --- a/mods/player/init.lua +++ b/mods/player/init.lua @@ -110,6 +110,8 @@ local function player_health_adjust() local hp = player:get_hp() if player:getpos().y < -50 and hp > 0 then player:set_hp(hp - 100) + player:set_velocity({x = 0, y = 0, z = 0}) + player:set_acceleration({x = 0, y = 0, z = 0}) else local breath = player:get_breath() if hp > 0 and hp < 20 and breath > 0 then