Permalink
Browse files

Core/Group: Fix exploit

The master looter should be in the group.
  • Loading branch information...
Dehravor
Dehravor committed Feb 9, 2014
1 parent 916d84b commit 2e897d045363e20b393418b1811db7372451bf1c
Showing with 3 additions and 0 deletions.
  1. +3 −0 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

0 comments on commit 2e897d0

Please sign in to comment.