forked from mtcontrib/arrow_signs
Solution for satisfy all mods for sign_wall
This commit is contained in:
parent
d9da4eb3f3
commit
fbf8066865
6
init.lua
6
init.lua
|
@ -54,7 +54,11 @@ end
|
|||
|
||||
-- usage
|
||||
local node = clone_registered("node","default:sign_wall")
|
||||
node.groups = {choppy=2,dig_immediate=2,sign=1}
|
||||
if node.legacy_wallmounted then
|
||||
node.groups = {choppy=2,dig_immediate=2,attached_node=1,sign=1}
|
||||
else
|
||||
node.groups = {choppy=2,dig_immediate=2,sign=1}
|
||||
end
|
||||
minetest.register_node(":default:sign_wall", node)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user