mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-15 12:21:24 +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"})
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue