Core/Misc: Updated default expansion to 9

Port From (https://github.com/TrinityCore/TrinityCore/commit/caad5c36bda0b348e30f21981a29adbc2fc059e4)
This commit is contained in:
hondacrx
2023-01-04 02:54:41 -05:00
parent a8fdc4cae8
commit 9dfd0d0bd5
2 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -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;