Core/BattlePets: Implemented CMSG_BATTLE_PET_UPDATE_NOTIFY
Port From (https://github.com/TrinityCore/TrinityCore/commit/966430dc449f6ac259262cb996051dfd04a6e5fb)
This commit is contained in:
@@ -146,5 +146,11 @@ namespace Game
|
||||
else
|
||||
GetBattlePetMgr().DismissPet();
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.BattlePetUpdateNotify)]
|
||||
void HandleBattlePetUpdateNotify(BattlePetUpdateNotify battlePetUpdateNotify)
|
||||
{
|
||||
GetBattlePetMgr().UpdateBattlePetData(battlePetUpdateNotify.PetGuid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user