Fixed an issue where server full wasn't silent

This commit is contained in:
Lucas Nicodemus 2012-05-24 10:36:32 -06:00
parent 0452d4f0ac
commit 824b3be639

View file

@ -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;
}