From 5cb641e2e5fe549ecf517c4237ce9ca6ca1defb3 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 15 Jul 2018 14:06:07 +0200 Subject: [PATCH] fixed bug in upgrade process --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index b4c6f61..2582bfd 100644 --- a/init.lua +++ b/init.lua @@ -254,6 +254,9 @@ chesttools.update_chest = function(pos, formname, fields, player) if( not( pos ) or not( pos.x ) or not( pos.y ) or not( pos.z )) then return; end + if( fields.abort and fields.abort ~= "") then + return; + end local node = minetest.get_node( pos ); local price = 1;