forked from mtcontrib/homedecor_modpack
make "popped" toaster drop regular one.
This commit is contained in:
parent
f330d19d03
commit
1f1fa99c9d
|
@ -1462,6 +1462,7 @@ minetest.register_node("homedecor:toaster_loaf", {
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
local fdir = node.param2
|
local fdir = node.param2
|
||||||
minetest.set_node(pos, { name = "homedecor:toaster", param2 = fdir })
|
minetest.set_node(pos, { name = "homedecor:toaster", param2 = fdir })
|
||||||
end
|
end,
|
||||||
|
drop = "homedecor:toaster"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user