fixed bug in upgrade process

This commit is contained in:
Sokomine 2018-07-15 14:06:07 +02:00
parent c0b9abb034
commit 5cb641e2e5
1 changed files with 3 additions and 0 deletions

View File

@ -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;