change permissions to tshock.xxx and fix default group creating to reference permissions that exist, and not hardcoded strings.

This commit is contained in:
Zack Piispanen 2013-09-22 23:14:14 -04:00
parent 8980a2155a
commit b7019d8267
4 changed files with 19 additions and 9 deletions

View file

@ -771,7 +771,7 @@ namespace TShockAPI
{
var player = new TSPlayer(ply);
if (Utils.ActivePlayers() + 1 > Config.MaxSlots + 20)
if (Utils.ActivePlayers() + 1 > Config.MaxSlots + Config.ReservedSlots)
{
Utils.ForceKick(player, Config.ServerFullNoReservedReason, true, false);
handler.Handled = true;