From 9d533980457ebe268bda5b7e89f34f49a69a12f6 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 25 Jul 2017 01:17:30 +0200 Subject: [PATCH] Don't update sign entity if node is gone --- mods/ITEMS/signs/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ITEMS/signs/init.lua b/mods/ITEMS/signs/init.lua index 5b5b1b78..dcc4f82b 100644 --- a/mods/ITEMS/signs/init.lua +++ b/mods/ITEMS/signs/init.lua @@ -148,6 +148,9 @@ end local update_sign = function(pos, fields, sender) local meta = minetest.get_meta(pos) + if not meta then + return + end local owner = meta:get_string("owner") local text = meta:get_string("text") if fields and sender:get_player_name() == owner or text == "" and fields then