Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-11-16 13:15:00 +08:00
768 changed files with 5628 additions and 5394 deletions

View File

@@ -18,7 +18,6 @@
#ifndef _CHANNEL_H
#define _CHANNEL_H
#include "Common.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include <string>

View File

@@ -506,6 +506,9 @@ bool Acore::Impl::ChatCommands::ChatCommandNode::IsInvokerVisible(ChatHandler co
if (!_invoker)
return false;
if (!sScriptMgr->OnBeforeIsInvokerVisible(_name, _permission, who))
return true;
if (who.IsConsole() && (_permission.AllowConsole == Acore::ChatCommands::Console::No))
return false;

View File

@@ -23,6 +23,7 @@
#include "SharedDefines.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "World.h"
using namespace Acore::Hyperlinks;