fixed getting out of beds when hungry
This commit is contained in:
parent
738bb7bc24
commit
d01398fcd2
@ -223,7 +223,6 @@ if minetest.setting_getbool("enable_damage") and minetest.setting_getbool("hunge
|
|||||||
hunger.hunger[name] = 0
|
hunger.hunger[name] = 0
|
||||||
|
|
||||||
local pos_sound = player:getpos()
|
local pos_sound = player:getpos()
|
||||||
player:set_physics_override({speed = 0.8})
|
|
||||||
minetest.chat_send_player(name, "You are hungry.")
|
minetest.chat_send_player(name, "You are hungry.")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user