Quick client patch - stop infinite requests if can't accept more
This commit is contained in:
@@ -66,6 +66,9 @@ local commands = {
|
||||
quantity = max_quantity,
|
||||
destination_inventory = conf.network_name
|
||||
}), "extracting a stack").moved
|
||||
if moved == 0 then -- inventory full
|
||||
quantity = 0
|
||||
end
|
||||
quantity = quantity - moved
|
||||
item_type.count = item_type.count - moved
|
||||
end
|
||||
|
Reference in New Issue
Block a user