Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Sys Quatre 2021-02-23 21:15:44 +01:00
commit b8943369c6
1 changed files with 2 additions and 2 deletions

View File

@ -133,8 +133,8 @@ local function is_walkable(ground)
end
local function create_particles(player, name, ground)
local def = minetest.registered_nodes[ground.name]
local tile = def.tiles[1] or def.inventory_image
local def = minetest.registered_nodes[ground.name] or {}
local tile = def.tiles and def.tiles[1] or def.inventory_image
if type(tile) == "table" then
tile = tile.name
end