e58ddac0cc
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> |
||
---|---|---|
.. | ||
assets | ||
src | ||
tests | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
.swcrc | ||
gulpfile.mjs | ||
package.json | ||
pkgconfig.json | ||
Server.code-workspace | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.strictNullChecks.json | ||
tsconfig.typedef.json | ||
typedoc.json | ||
vitest.config.ts |