forked from Mineclonia/Mineclonia
Fix signs being non-placable
This commit is contained in:
parent
14e61a5958
commit
da2742d27b
|
@ -212,7 +212,7 @@ minetest.register_node("signs:sign_wall", {
|
||||||
z = under.z - above.z}
|
z = under.z - above.z}
|
||||||
|
|
||||||
-- Only build when it's legal
|
-- Only build when it's legal
|
||||||
local abovenodedef = minetest.registered_nodes[minetest.get_node(above)]
|
local abovenodedef = minetest.registered_nodes[minetest.get_node(above).name]
|
||||||
if not abovenodedef or abovenodedef.buildable_to == false then
|
if not abovenodedef or abovenodedef.buildable_to == false then
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue