Fixed an issue where server full wasn't silent
This commit is contained in:
parent
0452d4f0ac
commit
824b3be639
1 changed files with 1 additions and 2 deletions
|
|
@ -1425,8 +1425,7 @@ namespace TShockAPI
|
|||
if (TShock.Utils.ActivePlayers() + 1 > TShock.Config.MaxSlots &&
|
||||
!args.Player.Group.HasPermission(Permissions.reservedslot))
|
||||
{
|
||||
args.Player.SilentKickInProgress = true;
|
||||
TShock.Utils.ForceKick(args.Player, TShock.Config.ServerFullReason);
|
||||
TShock.Utils.ForceKick(args.Player, TShock.Config.ServerFullReason, true);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue