mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-21 15:21:21 +00:00
TNT node drop particles: Only pick string tiles as fallback
This commit is contained in:
parent
9528c0f8b9
commit
edd033b708
1 changed files with 3 additions and 3 deletions
|
@ -243,9 +243,9 @@ local function add_effects(pos, radius, drops)
|
||||||
local def = minetest.registered_nodes[name]
|
local def = minetest.registered_nodes[name]
|
||||||
if def then
|
if def then
|
||||||
node = { name = name }
|
node = { name = name }
|
||||||
end
|
if def.tiles and type(def.tiles[1]) == "string" then
|
||||||
if def and def.tiles and def.tiles[1] then
|
texture = def.tiles[1]
|
||||||
texture = def.tiles[1]
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue