Add glass group

This commit is contained in:
Wuzzy 2017-03-01 15:19:51 +01:00
parent 2a359b0d13
commit a7fdfa13ef
3 changed files with 3 additions and 2 deletions

View file

@ -577,7 +577,7 @@ function mcl_core.add_glass(desc, recipeitem, color)
paramtype = "light",
use_texture_alpha = true,
stack_max = 64,
groups = {handy=1, building_block=1},
groups = {handy=1, glass=1, building_block=1},
sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "",
_mcl_blast_resistance = 1.5,

View file

@ -1116,7 +1116,7 @@ minetest.register_node("mcl_core:glass", {
paramtype = "light",
sunlight_propagates = true,
stack_max = 64,
groups = {handy=1, building_block=1},
groups = {handy=1, glass=1, building_block=1},
sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "",
_mcl_blast_resistance = 1.5,