actually, this is needed for a few more versions...
Some checks failed
Build / build (push) Has been cancelled
Build / build (pull_request) Successful in 1m47s

This commit is contained in:
Sainan 2025-05-06 15:15:37 +02:00
parent 1c078d3a7a
commit 3ba99734e7
2 changed files with 2 additions and 3 deletions

View File

@ -315,8 +315,7 @@ export const getInventoryResponse = async (
inventoryResponse.Nemesis = undefined; inventoryResponse.Nemesis = undefined;
} }
if (buildLabel && version_compare(buildLabel, "2014.10.29.18.19") < 0) { if (buildLabel && version_compare(buildLabel, "2018.02.22.14.34") < 0) {
// U14
const personalRoomsDb = await getPersonalRooms(inventory.accountOwnerId.toString()); const personalRoomsDb = await getPersonalRooms(inventory.accountOwnerId.toString());
const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>(); const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
inventoryResponse.Ship = personalRooms.Ship; inventoryResponse.Ship = personalRooms.Ship;

View File

@ -374,7 +374,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu
BrandedSuits?: IOid[]; BrandedSuits?: IOid[];
LockedWeaponGroup?: ILockedWeaponGroupClient; LockedWeaponGroup?: ILockedWeaponGroupClient;
HubNpcCustomizations?: IHubNpcCustomization[]; HubNpcCustomizations?: IHubNpcCustomization[];
Ship?: IOrbiter; // U14 (response only) Ship?: IOrbiter; // U22 and below, response only
} }
export interface IAffiliation { export interface IAffiliation {