Don't use minetest.inventorycube for stained glass

This commit is contained in:
Wuzzy 2017-05-31 18:18:31 +02:00
parent 3c3ed3d344
commit ad41c9b77a

View File

@ -950,7 +950,6 @@ function mcl_core.add_glass(desc, recipeitem, colorgroup, color)
drawtype = "glasslike", drawtype = "glasslike",
is_ground_content = false, is_ground_content = false,
tiles = {"xpanes_pane_glass_"..color..".png"}, tiles = {"xpanes_pane_glass_"..color..".png"},
inventory_image = minetest.inventorycube("xpanes_pane_glass_"..color..".png"),
paramtype = "light", paramtype = "light",
sunlight_propagates = "true", sunlight_propagates = "true",
use_texture_alpha = true, use_texture_alpha = true,