mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-11 14:41:27 +00:00
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708)
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
||||
if (!player->HasAuraType(SPELL_AURA_MOD_SHAPESHIFT))
|
||||
player->SetShapeshiftForm(FORM_NONE);
|
||||
|
||||
player->setFactionForRace(player->getRace());
|
||||
player->SetFactionForRace(player->getRace());
|
||||
|
||||
player->SetUInt32Value(UNIT_FIELD_BYTES_0, ((player->getRace()) | (player->getClass() << 8) | (player->getGender() << 16) | (powerType << 24)));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user