fix: wrongly named GatheringSystemMessages/ErrorMessages

This commit is contained in:
goat 2020-04-24 01:37:00 +02:00
parent 91d4f90de6
commit 5ba7cddb28
2 changed files with 21 additions and 10 deletions

View file

@ -59,7 +59,7 @@ namespace Dalamud.Game.Command {
private void OnChatMessage(XivChatType type, uint senderId, ref StdString sender,
ref StdString message, ref bool isHandled) {
if (type == XivChatType.GatheringSystemMessage && senderId == 0) {
if (type == XivChatType.ErrorMessage && senderId == 0) {
var cmdMatch = this.currentLangCommandRegex.Match(message.Value).Groups["command"];
if (cmdMatch.Success) {
// Yes, it's a chat command.