mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-17 18:39:07 +00:00
Update Helper.cs
This commit is contained in:
@@ -165,7 +165,7 @@ internal static class Helper
|
|||||||
{
|
{
|
||||||
Server.ExecuteCommand($"kickid {player.UserId}");
|
Server.ExecuteCommand($"kickid {player.UserId}");
|
||||||
|
|
||||||
player.Disconnect(reason); // Broken after last update
|
// player.Disconnect(reason); // Broken after last update
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CS2_SimpleAdmin.UnlockedCommands && reason == NetworkDisconnectionReason.NETWORK_DISCONNECT_REJECT_BANNED)
|
if (CS2_SimpleAdmin.UnlockedCommands && reason == NetworkDisconnectionReason.NETWORK_DISCONNECT_REJECT_BANNED)
|
||||||
|
|||||||
Reference in New Issue
Block a user