forked from minetest-mods/stained_glass
update unified dyes API for one more node
This commit is contained in:
parent
efd1200648
commit
44e9c4ea32
6
init.lua
6
init.lua
@ -118,10 +118,8 @@ minetest.register_node("stained_glass:faint_stained_glass", {
|
|||||||
-- trap glass
|
-- trap glass
|
||||||
|
|
||||||
minetest.override_item("moreblocks:trap_super_glow_glass", {
|
minetest.override_item("moreblocks:trap_super_glow_glass", {
|
||||||
on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
|
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3, not_in_creative_inventory=1, ud_param2_colorable = 1},
|
||||||
unifieddyes.on_rightclick(pos, node, clicker,
|
ud_replacement_node = "stained_glass:stained_trap_glass"
|
||||||
itemstack, pointed_thing, "stained_glass:stained_trap_glass")
|
|
||||||
end
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("stained_glass:stained_trap_glass", {
|
minetest.register_node("stained_glass:stained_trap_glass", {
|
||||||
|
Loading…
Reference in New Issue
Block a user