mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 16:10:43 -05:00
directly reference equipment id instead of using .find
This commit is contained in:
parent
93c34bd189
commit
22b57b1377
@ -427,8 +427,7 @@ export class ProfileController {
|
||||
},
|
||||
skills: playerPmc.Skills,
|
||||
equipment: {
|
||||
// Default inventory tpl
|
||||
Id: playerPmc.Inventory.items.find((item) => item._tpl === ItemTpl.INVENTORY_DEFAULT)._id,
|
||||
Id: playerPmc.Inventory.equipment,
|
||||
Items: playerPmc.Inventory.items,
|
||||
},
|
||||
achievements: playerPmc.Achievements,
|
||||
|
Loading…
x
Reference in New Issue
Block a user