ShadowNinja
2013-07-20 e43e6cc1b0f4de3107179f6b86f23db60f492d1d
Merge pull request #61 from hdastwb/patch-1

Convert remove_items to a number in item_drop to avoid crashes
1 files modified
2 ■■■ changed files
item_drop/item_entity.lua 2 ●●● patch | view | raw | blame | history
item_drop/item_entity.lua
@@ -88,7 +88,7 @@
    end,
    
    on_step = function(self, dtime)
        local time = minetest.setting_get("remove_items")
        local time = tonumber(minetest.setting_get("remove_items"))
        if not time then
            time = 300
        end