mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 01:59:09 +00:00
refactor(Scripts/Commands): convert cs_misc to new system (#8939)
This commit is contained in:
committed by
GitHub
parent
7617ae4645
commit
838c88f45a
@@ -18,11 +18,11 @@
|
||||
#include "ScriptMgr.h"
|
||||
#include "ScriptMgrMacros.h"
|
||||
|
||||
void ScriptMgr::OnHandleDevCommand(Player* player, std::string& argstr)
|
||||
void ScriptMgr::OnHandleDevCommand(Player* player, bool& enable)
|
||||
{
|
||||
ExecuteScript<CommandSC>([&](CommandSC* script)
|
||||
{
|
||||
script->OnHandleDevCommand(player, argstr);
|
||||
script->OnHandleDevCommand(player, enable);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user