Don't starve in creative to prevent crash

This commit is contained in:
tacotexmex 2018-11-03 10:18:59 +01:00
parent 0f846c95c7
commit 7170277c38
1 changed files with 12 additions and 10 deletions

View File

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