Don't starve in creative to prevent crash

This commit is contained in:
tacotexmex 2018-11-03 10:18:59 +01:00
parent f5d61f4a5b
commit e698f06066

@ -31,7 +31,9 @@ elseif minetest.get_modpath("hunger_ng") then
else else
starve = false starve = false
end end
if minetest.settings:get_bool("creative_mode") then
starve = false
end
-- Functions -- Functions
local function start_sprint(player) local function start_sprint(player)