From a991bc0feb84983440fdfa4e2c083087e4213e9b Mon Sep 17 00:00:00 2001 From: rhailrake <49613070+rhailrake@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:58:17 +0600 Subject: [PATCH] Revert "Nullable reference "warning" (#18191)" This reverts commit 32def478620b1531adac5a6c3e0d998abd67b8ac. --- Content.Server/Database/ServerDbBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Database/ServerDbBase.cs b/Content.Server/Database/ServerDbBase.cs index 8b8ac2fb83..ef19928999 100644 --- a/Content.Server/Database/ServerDbBase.cs +++ b/Content.Server/Database/ServerDbBase.cs @@ -1375,7 +1375,7 @@ INSERT INTO player_round (players_id, rounds_id) VALUES ({players[player]}, {id} // Client side query, as EF can't do groups yet var bansEnumerable = bansQuery - .GroupBy(ban => new { ban.BanTime, CreatedBy = (Player?)ban.CreatedBy, ban.Reason, Unbanned = ban.Unban == null }) + .GroupBy(ban => new { ban.BanTime, ban.CreatedBy, ban.Reason, Unbanned = ban.Unban == null }) .Select(banGroup => banGroup) .ToArray();