From f116c1d6cf2dc17b6da74365e120d7dad2b51330 Mon Sep 17 00:00:00 2001 From: sys4 Date: Mon, 7 Sep 2020 01:33:12 +0200 Subject: [PATCH] Fix crash with LBM --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 29e3cbd..e2bafa0 100644 --- a/init.lua +++ b/init.lua @@ -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 })