diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 2a6a3ef0..10d1364a 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -315,8 +315,7 @@ export const getInventoryResponse = async ( inventoryResponse.Nemesis = undefined; } - if (buildLabel && version_compare(buildLabel, "2014.10.29.18.19") < 0) { - // U14 + if (buildLabel && version_compare(buildLabel, "2018.02.22.14.34") < 0) { const personalRoomsDb = await getPersonalRooms(inventory.accountOwnerId.toString()); const personalRooms = personalRoomsDb.toJSON(); inventoryResponse.Ship = personalRooms.Ship; diff --git a/src/types/inventoryTypes/inventoryTypes.ts b/src/types/inventoryTypes/inventoryTypes.ts index dafb50bf..23b8ec38 100644 --- a/src/types/inventoryTypes/inventoryTypes.ts +++ b/src/types/inventoryTypes/inventoryTypes.ts @@ -374,7 +374,7 @@ export interface IInventoryClient extends IDailyAffiliations, InventoryClientEqu BrandedSuits?: IOid[]; LockedWeaponGroup?: ILockedWeaponGroupClient; HubNpcCustomizations?: IHubNpcCustomization[]; - Ship?: IOrbiter; // U14 (response only) + Ship?: IOrbiter; // U22 and below, response only } export interface IAffiliation {