fix(Core/Handlers): Crash (#14390)
This commit is contained in:
parent
b874760efe
commit
0a4051c4b2
1 changed files with 1 additions and 1 deletions
|
|
@ -851,7 +851,7 @@ void WorldSession::HandleUpdateAccountData(WorldPacket& recv_data)
|
|||
|
||||
LOG_DEBUG("network", "UAD: type {}, time {}, decompressedSize {}", type, timestamp, decompressedSize);
|
||||
|
||||
if (type > NUM_ACCOUNT_DATA_TYPES)
|
||||
if (type >= NUM_ACCOUNT_DATA_TYPES)
|
||||
return;
|
||||
|
||||
if (decompressedSize == 0) // erase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue