Fixed errors from failed merge

This commit is contained in:
ricky 2011-06-07 20:34:15 +10:00
parent c368518caa
commit cfd4de2f32
2 changed files with 1 additions and 3 deletions

View file

@ -227,7 +227,7 @@ namespace TShockAPI
public static bool Kick(int ply, string reason, string adminUserName = "")
{
if (!Main.player[ply].active)
return;
return false;
if (!TShock.players[ply].group.HasPermission("immunetokick"))
{
string playerName = Main.player[ply].name;