Stained glass is now transparent to sunlight

This commit is contained in:
Wuzzy 2017-05-15 01:16:30 +02:00
parent 91dc94a41f
commit ab9b2056d9

View File

@ -727,6 +727,7 @@ function mcl_core.add_glass(desc, recipeitem, color)
tiles = {"xpanes_pane_glass_"..color..".png"}, tiles = {"xpanes_pane_glass_"..color..".png"},
inventory_image = minetest.inventorycube("xpanes_pane_glass_"..color..".png"), inventory_image = minetest.inventorycube("xpanes_pane_glass_"..color..".png"),
paramtype = "light", paramtype = "light",
sunlight_propagates = "true",
use_texture_alpha = true, use_texture_alpha = true,
stack_max = 64, stack_max = 64,
groups = {handy=1, glass=1, building_block=1, material_glass=1}, groups = {handy=1, glass=1, building_block=1, material_glass=1},