From 0129d292d367c83465d504ae6c259bef2fba63b4 Mon Sep 17 00:00:00 2001 From: janavarr95 Date: Mon, 27 Jan 2020 15:02:58 -0800 Subject: [PATCH] Hopefully fixed the whole no birthday messages for npcs. --- GeneralMods/HappyBirthday/BirthdayMessages.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/GeneralMods/HappyBirthday/BirthdayMessages.cs b/GeneralMods/HappyBirthday/BirthdayMessages.cs index 63ab9804..1845c33e 100644 --- a/GeneralMods/HappyBirthday/BirthdayMessages.cs +++ b/GeneralMods/HappyBirthday/BirthdayMessages.cs @@ -2287,6 +2287,17 @@ namespace Omegasis.HappyBirthday } } } + else + { + if (this.birthdayWishes.ContainsKey(NPC)) + { + return this.birthdayWishes[NPC]; + } + else + { + return "Happy birthday @!"; + } + } } else