From 1ca5d00096a865dcfbc2f7146b01b26f6a81dc0c Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 3 Apr 2013 22:53:23 -0400 Subject: [PATCH] fixed a similar bug in signs code --- signs_lib.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signs_lib.lua b/signs_lib.lua index 19ddd614..73f1ba4e 100644 --- a/signs_lib.lua +++ b/signs_lib.lua @@ -122,9 +122,9 @@ minetest.register_node(":default:sign_wall", { end local node=minetest.env:get_node(pointed_thing.under) - if minetest.registered_nodes[node.name].on_rightclick then + + if minetest.registered_nodes[node.name] and minetest.registered_nodes[node.name].on_rightclick then return minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under, node, placer) - else local above = pointed_thing.above local under = pointed_thing.under