Update CheatDetection.cpp (#1559)

This commit is contained in:
David Markowitz 2024-05-10 14:20:42 -07:00 committed by GitHub
parent 9e36510c6b
commit 4d1395e522
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,12 +130,6 @@ bool CheatDetection::VerifyLwoobjidIsSender(const LWOOBJID& id, const SystemAddr
// This will be true if the player does not possess the entity they are trying to send a packet as.
// or if the user does not own the character they are trying to send a packet as.
if (invalidPacket) {
va_list args;
va_start(args, messageIfNotSender);
LogAndSaveFailedAntiCheatCheck(id, sysAddr, checkType, messageIfNotSender, args);
va_end(args);
}
return !invalidPacket;
}