Skip to content

Conversation

@Nyeriah
Copy link
Member

@Nyeriah Nyeriah commented Dec 24, 2025

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request refactors the transmog collection loading mechanism to separate it from the general world server config reload, introducing a dedicated reload command for transmog-specific configuration and collections.

Key Changes:

  • Extracted collection loading logic from OnAfterConfigLoad into a new LoadCollections() method that only runs on initial server startup
  • Added a new .transmog reload command for administrators to reload transmog configuration and collections independently
  • Collections are no longer reloaded automatically when world server config is reloaded

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/transmog_scripts.cpp Modified OnAfterConfigLoad to only call LoadCollections() on initial startup, not during config reload
src/cs_transmog.cpp Added new HandleReloadTransmogConfig command handler for manual transmog reload
src/Transmogrification.h Added LoadCollections() method declaration
src/Transmogrification.cpp Implemented LoadCollections() method with the collection loading logic extracted from the world script

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Nyeriah Nyeriah merged commit 01c40bc into azerothcore:master Dec 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant