forked from mtcontrib/arrow_signs
Merged in Jat15/arrow_signs-1/Jat15/generate-bug-with-homedecor-sign-1388789572181 (pull request #2)
Generate bug with homedecor sign
This commit is contained in:
commit
0af83277f9
4
init.lua
4
init.lua
@ -54,7 +54,11 @@ end
|
|||||||
|
|
||||||
-- usage
|
-- usage
|
||||||
local node = clone_registered("node","default:sign_wall")
|
local node = clone_registered("node","default:sign_wall")
|
||||||
|
if node.legacy_wallmounted then
|
||||||
node.groups = {choppy=2,dig_immediate=2,attached_node=1,sign=1}
|
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)
|
minetest.register_node(":default:sign_wall", node)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user