Core/Commands: Added missing hyperlink system.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f60e76b7f157af6a24fa3c962b59f3391b21e75) Port From (https://github.com/TrinityCore/TrinityCore/commit/f647ff68659ed6d8d414d20520507dd451c2cb8d)
This commit is contained in:
@@ -399,7 +399,7 @@ namespace Game.Chat
|
||||
public bool Invoke(CommandHandler handler, string args)
|
||||
{
|
||||
if (parameters.Any(p => p.ParameterType == typeof(StringArguments)))//Old system, can remove once all commands are changed.
|
||||
return (bool)_methodInfo.Invoke(null, new object[] { handler, new StringArguments(args) });
|
||||
return (bool)_methodInfo.Invoke(null, [handler, new StringArguments(args)]);
|
||||
else
|
||||
{
|
||||
var parseArgs = new dynamic[parameters.Length];
|
||||
|
||||
Reference in New Issue
Block a user