- Major changes
- Fixed `css_respawn`
- Added discord webhook
- Refactoring database class
This commit is contained in:
Dawid Bepierszcz
2024-02-02 21:59:21 +01:00
parent b2f1afd7e7
commit 86e837931c
7 changed files with 228 additions and 219 deletions

View File

@@ -59,7 +59,7 @@ namespace CS2_SimpleAdmin
}
//Console.WriteLine($"Setting immunity for SteamID {steamid} to {immunity}");
AdminManager.SetPlayerImmunity(steamid, (uint)immunity);
if (flags != null)
{
@@ -81,6 +81,7 @@ namespace CS2_SimpleAdmin
}
}
}
AdminManager.SetPlayerImmunity(steamid, (uint)immunity);
}
}
catch (Exception)