diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index c40c2280..e26eb438 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -834,7 +834,7 @@ "enabled": true, "ignoreMaps": ["base", "develop", "hideout", "privatearea", "suburbs", "terminal", "town"] }, - "fitLootIntoContainerAttempts": 2, + "fitLootIntoContainerAttempts": 3, "addOpenZonesToAllMaps": true, "addCustomBotWavesToMaps": true, "enableBotTypeLimits": true, diff --git a/project/src/helpers/InventoryHelper.ts b/project/src/helpers/InventoryHelper.ts index c25619c7..6d39f17f 100644 --- a/project/src/helpers/InventoryHelper.ts +++ b/project/src/helpers/InventoryHelper.ts @@ -276,6 +276,9 @@ export class InventoryHelper } catch (err) { + const errorText = (typeof err === "string") ? ` -> ${err}` : ""; + this.logger.error(`Unable to fit item into inventory: ${errorText}`); + return false; }