Update deprecated settings syntax

This commit is contained in:
Wuzzy 2017-06-20 16:50:57 +02:00
parent da70eba4fd
commit 3d7d613622

View File

@ -5,7 +5,7 @@ else
S = function ( s ) return s end
end
if minetest.setting_getbool("enable_damage") then
if minetest.settings:get_bool("enable_damage") then
hbhunger = {}
hbhunger.food = {}