mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
feat(Core/Hooks): added collection of hooks to extends AC (#3047)
This collection of hooks comes from the Maelstrom project. It allows to release modules such as : - 3v3-soloqueue - 1v1 arena - pvestats and many others
This commit is contained in:
@@ -347,12 +347,14 @@ public:
|
||||
{
|
||||
player->SetDeveloper(true);
|
||||
handler->GetSession()->SendNotification(LANG_DEV_ON);
|
||||
sScriptMgr->OnHandleDevCommand(handler->GetSession()->GetPlayer(), enablestr);
|
||||
return true;
|
||||
}
|
||||
else if (enablestr == "off")
|
||||
{
|
||||
player->SetDeveloper(false);
|
||||
handler->GetSession()->SendNotification(LANG_DEV_OFF);
|
||||
sScriptMgr->OnHandleDevCommand(handler->GetSession()->GetPlayer(), enablestr);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user