From b760c43ac2131aab8d9bc05fbe3bf85080a8c98e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 17 Feb 2017 02:44:33 +0100 Subject: [PATCH] Localize item drop settings table --- mods/ENTITIES/mcl_item_entity/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index bf9798f3a3..52f98ea84b 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -1,5 +1,5 @@ --basic settings -item_drop_settings = {} --settings table +local item_drop_settings = {} --settings table item_drop_settings.age = 1 --how old an item has to be before collecting item_drop_settings.radius_magnet = 2 --radius of item magnet item_drop_settings.radius_collect = 0.1 --radius of collection @@ -475,5 +475,5 @@ core.register_entity(":__builtin:item", { }) if minetest.setting_get("log_mods") then - minetest.log("action", "item drop reloaded loaded") + minetest.log("action", "mcl_item_entity loaded") end