Core/Misc: Updated default expansion to 9
Port From (https://github.com/TrinityCore/TrinityCore/commit/caad5c36bda0b348e30f21981a29adbc2fc059e4)
This commit is contained in:
@@ -804,11 +804,11 @@ namespace Game.Entities
|
||||
|
||||
public bool IsEquipped()
|
||||
{
|
||||
return !IsInBag() && ((m_slot >= EquipmentSlot.Start && m_slot < EquipmentSlot.End)
|
||||
return !IsInBag() && (m_slot < EquipmentSlot.End
|
||||
|| (m_slot >= ProfessionSlots.Start && m_slot < ProfessionSlots.End));
|
||||
}
|
||||
|
||||
public bool CanBeTraded(bool mail = false, bool trade = false)
|
||||
|
||||
public bool CanBeTraded(bool mail = false, bool trade = false)
|
||||
{
|
||||
if (m_lootGenerated)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user