fixed bug in upgrade process

This commit is contained in:
Sokomine 2018-07-15 14:06:07 +02:00
parent c0b9abb034
commit 5cb641e2e5

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 if( not( pos ) or not( pos.x ) or not( pos.y ) or not( pos.z )) then
return; return;
end end
if( fields.abort and fields.abort ~= "") then
return;
end
local node = minetest.get_node( pos ); local node = minetest.get_node( pos );
local price = 1; local price = 1;