diff --git a/Server/src/SOR.Bazaar/Handlers/BazaarBuyPrebuiltDeckHandler.cs b/Server/src/SOR.Bazaar/Handlers/BazaarBuyPrebuiltDeckHandler.cs index 6106180..03210a1 100644 --- a/Server/src/SOR.Bazaar/Handlers/BazaarBuyPrebuiltDeckHandler.cs +++ b/Server/src/SOR.Bazaar/Handlers/BazaarBuyPrebuiltDeckHandler.cs @@ -41,7 +41,7 @@ internal sealed class BazaarBuyPrebuiltDeckHandler : BazaarHandlerBase, IMessage var deck = await _bazaarDb.PrebuiltDecks .Include(d => d.Cards) - .FirstOrDefaultAsync(d => d.Id == req.DeckId && d.IsActive + .FirstOrDefaultAsync(d => d.Id == req.DeckId && d.IsActive && d.IsAvailableInShop && (d.AvailableFrom == null || d.AvailableFrom <= now) && (d.AvailableUntil == null || d.AvailableUntil >= now), ct); @@ -49,11 +49,6 @@ internal sealed class BazaarBuyPrebuiltDeckHandler : BazaarHandlerBase, IMessage return ServerMessage.Error(message.Seq, "DECK_NOT_FOUND", "Prebuilt deck not found or not currently available."); - // Starter decks are handled by collection.select_starter_deck; not purchasable here. - if (deck.IsStarterDeck) - return ServerMessage.Error(message.Seq, "STARTER_DECK", - "Starter decks must be selected during onboarding, not purchased."); - // ── Debit ───────────────────────────────────────────────────────────── var debited = await TryDebitOriginPointsAsync(_identityDb, accountId, deck.OriginPointPrice, ct); if (!debited)