1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

take "open" speaker out of creative inv

This commit is contained in:
Vanessa Ezekowitz 2015-05-27 18:05:06 -04:00
parent 9959270e77
commit 6e8c321ab6

View File

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