exclude vip/mod/admin from start kick

This commit is contained in:
Gurge44 committed 2026-01-29 11:18:21 +01:00
1 parent d45e7ceb72
commit 9d030afedd
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ public static class SpamManager
if (Options.AutoKickStart.GetBool())
{
if (ContainsStart(text) && GameStates.IsLobby)
if (ContainsStart(text) && GameStates.IsLobby && !ChatCommands.IsPlayerModerator(player.FriendCode) && !ChatCommands.IsPlayerVIP(player.FriendCode))
{
Main.SayStartTimes.TryAdd(player.OwnerId, 0);