Lower the hunger limit

This commit is contained in:
tacotexmex 2018-02-25 22:15:56 +01:00
parent 08ee8028f1
commit e42e12df3e
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ minetest.register_globalstep(function(dtime)
if ground ~= nil then
walkable = minetest.registered_nodes[ground.name].walkable
end
if player_stamina > 0 and hunger > 9 and walkable then
if player_stamina > 0 and hunger > 6 and walkable then
start_sprint(player)
player:set_attribute("sprinting", "true")
if stamina then drain_stamina(player) end