Core/Chat: Provide a fully-formed protocol for addons to interact with GM commands

Port From (https://github.com/TrinityCore/TrinityCore/commit/42c65c3bc22f97a96d9db481997d74e7103f8e64)
This commit is contained in:
hondacrx
2020-08-22 16:22:47 -04:00
parent 51e914e0f3
commit 4d8e6a8a57
4 changed files with 144 additions and 27 deletions
+1 -1
View File
@@ -6350,7 +6350,7 @@ namespace Game.Entities
}
public void SendSysMessage(string str, params object[] args)
{
new CommandHandler(Session).SendSysMessage(str, args);
new CommandHandler(Session).SendSysMessage(string.Format(str, args));
}
public void SendBuyError(BuyResult msg, Creature creature, uint item)
{