From d763840b4739a87de545490157fc723d250dfda7 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 10 Sep 2015 09:39:58 +0200 Subject: [PATCH] assign custom on_place to the right fence definition, which makes sign posts work again --- signs_lib/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signs_lib/init.lua b/signs_lib/init.lua index 83f8f053..a93fba6d 100644 --- a/signs_lib/init.lua +++ b/signs_lib/init.lua @@ -857,7 +857,7 @@ function signs_lib.register_fence_with_sign(fencename, fencewithsignname) def_sign = signs_lib.table_copy(def_sign) fences_with_sign[fencename] = fencewithsignname - def.on_place = function(itemstack, placer, pointed_thing, ...) + def_sign.on_place = function(itemstack, placer, pointed_thing, ...) local node_above = minetest.get_node(pointed_thing.above) local node_under = minetest.get_node(pointed_thing.under) local def_above = minetest.registered_nodes[node_above.name]