forked from minetest-mods/hbsprint
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
b8943369c6
4
init.lua
4
init.lua
@ -133,8 +133,8 @@ local function is_walkable(ground)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function create_particles(player, name, ground)
|
local function create_particles(player, name, ground)
|
||||||
local def = minetest.registered_nodes[ground.name]
|
local def = minetest.registered_nodes[ground.name] or {}
|
||||||
local tile = def.tiles[1] or def.inventory_image
|
local tile = def.tiles and def.tiles[1] or def.inventory_image
|
||||||
if type(tile) == "table" then
|
if type(tile) == "table" then
|
||||||
tile = tile.name
|
tile = tile.name
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user