mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-21 15:03:49 +01:00
Fix dumpnodes
crash on deprecated tile field name
This commit is contained in:
parent
c81cda24d3
commit
7af222dd9d
@ -1,7 +1,7 @@
|
||||
local function get_tile(tiles, n)
|
||||
local tile = tiles[n]
|
||||
if type(tile) == 'table' then
|
||||
return tile.name
|
||||
return tile.name or tile.image
|
||||
end
|
||||
return tile
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user