mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added a new state type for the 2025 end of year great reset
This commit is contained in:
@@ -228,7 +228,7 @@ public static class Money
|
||||
await db.Gamblers.AsNoTracking().OrderBy(x => x.Id).Include(x => x.User).LastOrDefaultAsync(g => g.User.Id == user.Id && g.State != GamblerState.PermanentlyBanned,
|
||||
cancellationToken: ct);
|
||||
_logger.Info($"Retrieved entity for {user.KfUsername}. Is Gambler Entity Null? => {gambler == null}");
|
||||
if (gambler != null && gambler.State != GamblerState.Abandoned)
|
||||
if (gambler != null && gambler.State != GamblerState.Abandoned && gambler.State != GamblerState.EndOfYear2025Liquidated)
|
||||
{
|
||||
_logger.Info($"Gambler entity details: {gambler.Id}, Created: {gambler.Created:o}");
|
||||
return gambler;
|
||||
|
||||
Reference in New Issue
Block a user