forked from nalc/homedecor_modpack
take "open" speaker out of creative inv
This commit is contained in:
parent
9959270e77
commit
6e8c321ab6
|
@ -25,7 +25,7 @@ homedecor.register("speaker_open", {
|
||||||
"homedecor_speaker_open_front.png",
|
"homedecor_speaker_open_front.png",
|
||||||
"homedecor_generic_metal_black.png"
|
"homedecor_generic_metal_black.png"
|
||||||
},
|
},
|
||||||
groups = { snappy = 3 },
|
groups = { snappy = 3, not_in_creative_inventory=1 },
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_punch = function(pos, node, puncher, pointed_thing)
|
on_punch = function(pos, node, puncher, pointed_thing)
|
||||||
minetest.set_node(pos, {name = "homedecor:speaker", param2 = node.param2})
|
minetest.set_node(pos, {name = "homedecor:speaker", param2 = node.param2})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user