mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*Do not remove item mod for broken item. This fixes an exploit that druid can remove broken item and shapeshift when have resurrect sickness to gain huge ap.
--HG-- branch : trunk
This commit is contained in:
@@ -6489,7 +6489,7 @@ void Player::_ApplyItemMods(Item *item, uint8 slot,bool apply)
|
||||
return;
|
||||
|
||||
// not apply mods for broken item
|
||||
if(item->IsBroken() && apply)
|
||||
if(item->IsBroken())
|
||||
return;
|
||||
|
||||
ItemPrototype const *proto = item->GetProto();
|
||||
|
||||
Reference in New Issue
Block a user