Update deprecated settings syntax
This commit is contained in:
parent
94d4ad99f4
commit
a88f644001
3 changed files with 3 additions and 3 deletions
|
@ -295,7 +295,7 @@ end
|
|||
|
||||
--modify builtin:item
|
||||
|
||||
local time_to_live = tonumber(core.setting_get("item_entity_ttl"))
|
||||
local time_to_live = tonumber(minetest.settings:get("item_entity_ttl"))
|
||||
if not time_to_live then
|
||||
time_to_live = 300
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue