Update deprecated settings syntax

This commit is contained in:
Wuzzy 2018-06-20 19:02:52 +02:00
parent 94d4ad99f4
commit a88f644001
3 changed files with 3 additions and 3 deletions

View file

@ -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