Skip to content

Commit

Permalink
Update Transmogrification.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu committed Jul 19, 2024
1 parent bff3cd9 commit a8bef9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Transmogrification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ std::string Transmogrification::GetItemLink(Item* item, WorldSession* session) c
item->GetEnchantmentId(SOCK_ENCHANTMENT_SLOT_3) << ":" <<
item->GetEnchantmentId(BONUS_ENCHANTMENT_SLOT) << ":" <<
item->GetItemRandomPropertyId() << ":" << item->GetItemSuffixFactor() << ":" <<
// (uint32)item->GetOwner()->getLevel() << "|h[" << name << "]|h|r";
// (uint32)item->GetOwner()->GetLevel() << "|h[" << name << "]|h|r";
(uint32)0 << "|h[" << name << "]|h|r";

return oss.str();
Expand Down Expand Up @@ -760,7 +760,7 @@ bool Transmogrification::SuitableForTransmogrification(Player* player, ItemTempl
return false;
}

if (!IgnoreReqLevel && player->getLevel() < proto->RequiredLevel)
if (!IgnoreReqLevel && player->GetLevel() < proto->RequiredLevel)
return false;

if (!IgnoreReqSpell && proto->RequiredSpell != 0 && !player->HasSpell(proto->RequiredSpell))
Expand Down

0 comments on commit a8bef9c

Please sign in to comment.