Added exit when flea offer type is not found
(cherry picked from commit c2ccadf110829904bcd555c8ec22fb6b438b46cf)
This commit is contained in:
parent
0629958b92
commit
1762f1637d
@ -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