mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10215] Implement ROLL_VOTE_DISENCHANT disable
* for player without reqired enchanting skill * for item without disenchanting possibility
This commit is contained in:
parent
15374bd626
commit
4ef23face4
4 changed files with 36 additions and 16 deletions
|
|
@ -393,7 +393,7 @@ void WorldSession::HandleLootRoll( WorldPacket &recv_data )
|
|||
return;
|
||||
|
||||
// everything is fine, do it, if false then some cheating problem found
|
||||
if(!group->CountRollVote(GetPlayer()->GetObjectGuid(), lootedTarget, itemSlot, RollVote(rollType)))
|
||||
if(!group->CountRollVote(GetPlayer(), lootedTarget, itemSlot, RollVote(rollType)))
|
||||
return;
|
||||
|
||||
switch (rollType)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue