mirror of
https://github.com/minetest/minetestmapper.git
synced 2025-06-28 14:46:01 +02:00
Fix dumpnodes
crash on deprecated tile field name
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user