implemented ignorecheatdetection

This commit is contained in:
Maverick Motherfucker 2011-06-04 11:42:56 -07:00
parent 61b9b8779e
commit dbdbc9e41e

View file

@ -245,7 +245,7 @@ namespace TShockAPI
/// <param name="ply">int player</param>
public static void HandleCheater(int ply)
{
if (!TShock.players[ply].IsAdmin())
if (!TShock.players[ply].group.HasPermission("ignorecheatdetection"))
{
string cheater = Tools.FindPlayer(ply);
string ip = Tools.GetRealIP(Convert.ToString(Netplay.serverSock[ply].tcpClient.Client.RemoteEndPoint));