From e43e6cc1b0f4de3107179f6b86f23db60f492d1d Mon Sep 17 00:00:00 2001
From: ShadowNinja <owenptorres@gmail.com>
Date: Sat, 20 Jul 2013 23:48:18 +0200
Subject: [PATCH] Merge pull request #61 from hdastwb/patch-1

---
 item_drop/item_entity.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/item_drop/item_entity.lua b/item_drop/item_entity.lua
index 5da8285..fb0527f 100644
--- a/item_drop/item_entity.lua
+++ b/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

--
Gitblit v1.8.0