mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
exclude vip/mod/admin from start kick
This commit is contained in:
1 parent
d45e7ceb72
commit
9d030afedd
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user