Improve canPlaceItemInInventory()
logging
Increase attempts to fit into container to 3 from 2
This commit is contained in:
parent
5a8317b8a1
commit
4a8c12dc59
@ -834,7 +834,7 @@
|
|||||||
"enabled": true,
|
"enabled": true,
|
||||||
"ignoreMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town"]
|
"ignoreMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town"]
|
||||||
},
|
},
|
||||||
"fitLootIntoContainerAttempts": 2,
|
"fitLootIntoContainerAttempts": 3,
|
||||||
"addOpenZonesToAllMaps": true,
|
"addOpenZonesToAllMaps": true,
|
||||||
"addCustomBotWavesToMaps": true,
|
"addCustomBotWavesToMaps": true,
|
||||||
"enableBotTypeLimits": true,
|
"enableBotTypeLimits": true,
|
||||||
|
@ -276,6 +276,9 @@ export class InventoryHelper
|
|||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
|
const errorText = (typeof err === "string") ? ` -> ${err}` : "";
|
||||||
|
this.logger.error(`Unable to fit item into inventory: ${errorText}`);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user