mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
@@ -700,6 +700,9 @@ bool CollectionMgr::CanAddAppearance(ItemModifiedAppearanceEntry const* itemModi
|
||||
if (!itemTemplate)
|
||||
return false;
|
||||
|
||||
if (!_owner->GetPlayer())
|
||||
return false;
|
||||
|
||||
if (_owner->GetPlayer()->CanUseItem(itemTemplate) != EQUIP_ERR_OK)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user