mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-22 23:42:19 +00:00
Update TNT mod
This commit is contained in:
parent
faa676fd0c
commit
b28a59cacd
1 changed files with 1 additions and 6 deletions
|
@ -9,12 +9,7 @@ local destroy = function(pos)
|
||||||
minetest.env:set_node(pos, {name="fire:basic_flame"})
|
minetest.env:set_node(pos, {name="fire:basic_flame"})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
local drop
|
local drop = minetest.get_node_drops(nodename, "")
|
||||||
if not minetest.get_modpath("item_drop") then
|
|
||||||
drop = minetest.get_node_drops(nodename, "")
|
|
||||||
else
|
|
||||||
drop = minetest.get_drops(nodename, "")
|
|
||||||
end
|
|
||||||
for _,item in ipairs(drop) do
|
for _,item in ipairs(drop) do
|
||||||
if type(item) == "string" then
|
if type(item) == "string" then
|
||||||
local obj = minetest.env:add_item(pos, item)
|
local obj = minetest.env:add_item(pos, item)
|
||||||
|
|
Loading…
Add table
Reference in a new issue