projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acef4b1
)
convert remove_items to avoid crashes
author
hdastwb
<hdastwb@hdastwb.heliohost.org>
Sat, 20 Jul 2013 15:32:26 +0000
(11:32 -0400)
committer
hdastwb
<hdastwb@hdastwb.heliohost.org>
Sat, 20 Jul 2013 15:32:26 +0000
(11:32 -0400)
item_drop/item_entity.lua
patch
|
blob
|
history
diff --git
a/item_drop/item_entity.lua
b/item_drop/item_entity.lua
index 5da82852beb36c9eab36dca323154b4cdd4494e3..fb0527f39a31822806d5ed255d0838603b8ca40e 100644
(file)
--- a/
item_drop/item_entity.lua
+++ b/
item_drop/item_entity.lua
@@
-88,7
+88,7
@@
minetest.register_entity(":__builtin:item", {
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