Skip to content

Commit

Permalink
Fixed message if no Simple Dialogue trigger matches a vanilla or MC one
Browse files Browse the repository at this point in the history
  • Loading branch information
CWolfs committed Sep 16, 2021
1 parent 12b2f5a commit 2124e72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private void BuildSimpleDialogue() {
if (!Enum.TryParse(this.trigger, out messageType)) {
MessageTypes customMessageType;
if (!Enum.TryParse(this.trigger, out customMessageType)) {
Main.Logger.LogError("[GenericTriggerBuilder] Invalid 'TriggerOn' provided.");
Main.Logger.LogError("[DialogueBuilder] Invalid 'Trigger' provided.");
} else {
messageType = (MessageCenterMessageType)customMessageType;
}
Expand Down

0 comments on commit 2124e72

Please sign in to comment.