AFKManager: ignore fakeclients

This commit is contained in:
Dogan 2019-09-29 18:50:18 +02:00
parent c9726ffee4
commit 7c18d0ce43

View File

@ -428,11 +428,11 @@ public int Native_GetClientIdleTime(Handle plugin, int numParams)
return -1;
}
if(IsFakeClient(client))
/*if(IsFakeClient(client))
{
ThrowNativeError(SP_ERROR_NATIVE, "Client is fake-client.");
return -1;
}
}*/
if(!g_Players_bEnabled[client])
return 0;