implemented ignorecheatdetection
This commit is contained in:
parent
61b9b8779e
commit
dbdbc9e41e
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ namespace TShockAPI
|
||||||
/// <param name="ply">int player</param>
|
/// <param name="ply">int player</param>
|
||||||
public static void HandleCheater(int ply)
|
public static void HandleCheater(int ply)
|
||||||
{
|
{
|
||||||
if (!TShock.players[ply].IsAdmin())
|
if (!TShock.players[ply].group.HasPermission("ignorecheatdetection"))
|
||||||
{
|
{
|
||||||
string cheater = Tools.FindPlayer(ply);
|
string cheater = Tools.FindPlayer(ply);
|
||||||
string ip = Tools.GetRealIP(Convert.ToString(Netplay.serverSock[ply].tcpClient.Client.RemoteEndPoint));
|
string ip = Tools.GetRealIP(Convert.ToString(Netplay.serverSock[ply].tcpClient.Client.RemoteEndPoint));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue