Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Core/Group: Fix exploit

The master looter should be in the group.
  • Loading branch information...
commit 2e897d045363e20b393418b1811db7372451bf1c 1 parent 916d84b
@Dehravor Dehravor authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/server/game/Handlers/GroupHandler.cpp
View
3  src/server/game/Handlers/GroupHandler.cpp
@@ -431,6 +431,9 @@ void WorldSession::HandleLootMethodOpcode(WorldPacket& recvData)
if (lootThreshold < ITEM_QUALITY_UNCOMMON || lootThreshold > ITEM_QUALITY_ARTIFACT)
return;
+
+ if (lootMethod == MASTER_LOOT && !group->IsMember(lootMaster))
+ return;
/********************/
// everything's fine, do it
Please sign in to comment.
Something went wrong with that request. Please try again.