Fix crash with LBM

This commit is contained in:
Sys Quatre 2020-09-07 01:33:12 +02:00
parent 304579a8ca
commit f116c1d6cf
1 changed files with 4 additions and 0 deletions

View File

@ -659,6 +659,10 @@ minetest.register_lbm({
color = ""
end
if color == "_black" or color == "_white" or color == "_dark_grey" then
color = "_grey"
end
minetest.set_node(pos, { name = "unifiedbricks:"..class.."stonebrick"..color..shape, param2 = paletteidx+old_param2 })
end
})