mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
@@ -351,6 +351,12 @@ SpellMgr::~SpellMgr()
|
||||
UnloadSpellInfoStore();
|
||||
}
|
||||
|
||||
SpellMgr* SpellMgr::instance()
|
||||
{
|
||||
static SpellMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
/// Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book, etc
|
||||
bool SpellMgr::ComputeIsSpellValid(SpellInfo const *spellInfo, bool msg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user