mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
fix(Core/Warden): Fixed random kicks caused by warden. (#5027)
Co-authored-by: UltraNix <ultranix@gmail.com>
This commit is contained in:
@@ -397,7 +397,7 @@ void WardenWin::RequestChecks()
|
||||
case PAGE_CHECK_A:
|
||||
case PAGE_CHECK_B:
|
||||
{
|
||||
std::vector<uint8> data = check->Data.ToByteVector(0, false);
|
||||
std::vector<uint8> data = check->Data.ToByteVector(24, false);
|
||||
buff.append(data.data(), data.size());
|
||||
buff << uint32(check->Address);
|
||||
buff << uint8(check->Length);
|
||||
@@ -411,7 +411,7 @@ void WardenWin::RequestChecks()
|
||||
}
|
||||
case DRIVER_CHECK:
|
||||
{
|
||||
std::vector<uint8> data = check->Data.ToByteVector(0, false);
|
||||
std::vector<uint8> data = check->Data.ToByteVector(24, false);
|
||||
buff.append(data.data(), data.size());
|
||||
buff << uint8(index++);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user