From 835571054346bd21f22aa1414be5913aa67a98b0 Mon Sep 17 00:00:00 2001 From: Gabriel PĂ©rez-Cerezo Date: Sun, 3 Dec 2017 21:57:53 +0100 Subject: dirty fix for weird bug --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 7db558d..e4d297f 100644 --- a/init.lua +++ b/init.lua @@ -145,6 +145,9 @@ end) smartshop.update_info=function(pos) + if not pos then + return + end local meta=minetest.get_meta(pos) local inv = meta:get_inventory() local owner=meta:get_string("owner") -- cgit v1.2.3