|
_lastDialog = __instance.CurrentDialogue.Peek().TranslationKey; |
Looks like there's a possibility for peek() to cause a stack empty exception at Line 122 of NPCOverrides.cs. Probably only happens if another mod is editing the dialogue during checkAction(), but should probably make sure before you access the stack anyways, eh?