Server/project
Tyfon e58ddac0cc Fix InventoryHelper.canPlaceItemInContainer being backwards (!367)
For whatever reason, `InventoryHelper.canPlaceItemInContainer()` currently returns:
`true` if the item CANNOT be placed in the container
`undefined` if the item CAN be placed
`false` if the function thought it could but then failed when trying to (never happens?)

This didn't cause problems because the only two places that call it also treat the return value backwards - both of which are also fixed in this PR.

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/367
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
2024-07-02 22:05:32 +00:00
..
assets Updated PMC names 2024-07-02 15:15:49 +01:00
src Fix InventoryHelper.canPlaceItemInContainer being backwards (!367) 2024-07-02 22:05:32 +00:00
tests Migrate PMCs (sptBear/sptUsec) To Bsg Types (pmcBEAR/pmcUSEC) (!360) 2024-06-06 16:59:44 +00:00
.editorconfig Fixes Markdown Formatting 2024-05-07 13:37:01 -04:00
.eslintignore Code Styling Changes 2024-05-06 02:36:35 -04:00
.eslintrc.json Added null checks as warnings (!352) 2024-05-27 13:08:21 +00:00
.nvmrc Updates NPM Packages - Node v20.11.1 LTS (!260) 2024-03-14 09:08:40 +00:00
.prettierignore Linting Updates (!336) 2024-05-16 08:41:05 +00:00
.prettierrc Linting Updates (!336) 2024-05-16 08:41:05 +00:00
.swcrc Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
gulpfile.mjs Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
package.json Initial implementation of an ItemTpl and Weapon enum generator (!364) 2024-06-16 08:33:01 +00:00
pkgconfig.json Fixed stacktraces and source maps on the built exe (!153) 2023-10-15 07:31:16 +00:00
Server.code-workspace Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
tsconfig.base.json Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00
tsconfig.json fix/profiler (!166) 2023-11-06 19:39:13 +00:00
tsconfig.strictNullChecks.json Null checks first pass (!353) 2024-05-27 16:05:16 +00:00
tsconfig.typedef.json fix/profiler (!166) 2023-11-06 19:39:13 +00:00
typedoc.json Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
vitest.config.ts Rebranding to SPT (!345) 2024-05-21 17:59:04 +00:00