From 6b9a31bcba4d55ee1273eb862b47d5431f21813a Mon Sep 17 00:00:00 2001 From: Pilcrow182 Date: Fri, 13 Dec 2013 14:17:36 -0600 Subject: [PATCH] Do not pass a nil itemstack to on_rightclick --- signs_lib.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/signs_lib.lua b/signs_lib.lua index 90d529bc..fb75868a 100644 --- a/signs_lib.lua +++ b/signs_lib.lua @@ -1,4 +1,3 @@ - local S = homedecor.gettext -- CONSTANTS @@ -401,7 +400,7 @@ if not homedecor.disable_signs then local node=minetest.get_node(pointed_thing.under) 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) + return minetest.registered_nodes[node.name].on_rightclick(pointed_thing.under, node, placer, itemstack) else local above = pointed_thing.above local under = pointed_thing.under