Update TNT mod

This commit is contained in:
PilzAdam 2012-09-03 15:39:23 +02:00
parent faa676fd0c
commit b28a59cacd
1 changed files with 1 additions and 6 deletions

View File

@ -9,12 +9,7 @@ local destroy = function(pos)
minetest.env:set_node(pos, {name="fire:basic_flame"})
return
end
local drop
if not minetest.get_modpath("item_drop") then
drop = minetest.get_node_drops(nodename, "")
else
drop = minetest.get_drops(nodename, "")
end
local drop = minetest.get_node_drops(nodename, "")
for _,item in ipairs(drop) do
if type(item) == "string" then
local obj = minetest.env:add_item(pos, item)