Fix mod not working without paint roller mod

master
Wuzzy 2016-07-03 23:46:57 +02:00
parent 71f61bb28a
commit e162b13b94
1 changed files with 3 additions and 1 deletions

View File

@ -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