mirror of
git://repo.or.cz/minetest_hbhunger.git
synced 2025-06-28 21:06:01 +02:00
Update deprecated settings syntax
This commit is contained in:
2
init.lua
2
init.lua
@ -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 = {}
|
||||
|
Reference in New Issue
Block a user