fix(Core/Pet): Remove unnecessary Pet Class reassignments (#20614)

remove unnecessary class assignment
This commit is contained in:
Tereneckla
2024-12-01 20:16:13 +00:00
committed by GitHub
parent 2d616ce0e8
commit 8e080f1e60
2 changed files with 0 additions and 7 deletions

View File

@@ -9019,7 +9019,6 @@ Pet* Player::SummonPet(uint32 entry, float x, float y, float z, float ang, PetTy
pet->GetCharmInfo()->SetPetNumber(pet_number, false);
}
pet->SetUInt32Value(UNIT_FIELD_BYTES_0, 2048);
pet->SetUInt32Value(UNIT_FIELD_PETEXPERIENCE, 0);
pet->SetUInt32Value(UNIT_FIELD_PETNEXTLEVELEXP, 1000);
pet->SetFullHealth();