Fix mod not working without paint roller mod
parent
71f61bb28a
commit
e162b13b94
4
init.lua
4
init.lua
|
@ -154,5 +154,7 @@ for i=1,#complementary do
|
|||
tiled block so that it becomes a 2-color block. Thus, we use minor hack by using
|
||||
a fake dye group called “none” to make sure there is no dye to turn a tiled block
|
||||
into a 2-color tiled block. ]]
|
||||
paint_roller.register_one(nodeid, "none", "tiled color cubes" )
|
||||
if(minetest.get_modpath("paint_roller") ~= nil) then
|
||||
paint_roller.register_one(nodeid, "none", "tiled color cubes" )
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue