mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8131] Some anti-cheating server side checks.
* Loot in ghost state * Apply duplicate glyphs. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
61443d7583
commit
6a574896f5
3 changed files with 13 additions and 1 deletions
|
|
@ -247,6 +247,10 @@ void WorldSession::HandleLootOpcode( WorldPacket & recv_data )
|
|||
uint64 guid;
|
||||
recv_data >> guid;
|
||||
|
||||
// Check possible cheat
|
||||
if(!_player->isAlive())
|
||||
return;
|
||||
|
||||
GetPlayer()->SendLoot(guid, LOOT_CORPSE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue