Added exit when flea offer type is not found
This commit is contained in:
parent
e67f000602
commit
c2ccadf110
@ -424,6 +424,10 @@ export class RagfairController
|
||||
}
|
||||
|
||||
const typeOfOffer = this.getOfferType(offerRequest);
|
||||
if (typeOfOffer === FleaOfferType.UNKNOWN)
|
||||
{
|
||||
return this.httpResponse.appendErrorToOutput(output, "Unknown offer type, cannot list item on flea");
|
||||
}
|
||||
|
||||
// Find items to be listed on flea from player inventory
|
||||
const { items: itemsInInventoryToList, errorMessage: itemsInInventoryError }
|
||||
|
Loading…
x
Reference in New Issue
Block a user