Sulfur is attached_node
This commit is contained in:
parent
debbec218f
commit
e0a4e2b99f
@ -138,7 +138,7 @@ realtest.register_on_updatenode(function(pos, node)
|
||||
end
|
||||
if not check_attached_node(pos, node) then
|
||||
minetest.env:remove_node(pos)
|
||||
minetest.handle_node_drops(pos, {node.name})
|
||||
minetest.handle_node_drops(pos, minetest.get_node_drops(node.name, nil))
|
||||
nodeupdate(pos)
|
||||
end
|
||||
end
|
||||
|
@ -187,7 +187,7 @@ minetest.register_node("ores:sulfur", {
|
||||
selection_box = {
|
||||
type = "wallmounted",
|
||||
},
|
||||
groups = {cracky=3,drop_on_dig=1,dig_immediate=2},
|
||||
groups = {cracky=3,drop_on_dig=1,dig_immediate=2,attached_node=1},
|
||||
drop = {
|
||||
max_items = 1,
|
||||
items = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user