forked from minetest-mods/hbsprint
Compare commits
2 Commits
7b8b37a061
...
b8943369c6
Author | SHA1 | Date | |
---|---|---|---|
b8943369c6 | |||
f566d0ff26 |
4
init.lua
4
init.lua
@ -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
|
||||
|
Reference in New Issue
Block a user