feat(safety): refuse to load when Chat 2 is also active
When the user has both Hellion Chat and upstream Chat 2 installed and loaded, the parallel chat-window replacement and Hook collisions can crash FFXIV at frame boundaries. The new detector inspects IDalamudPluginInterface.InstalledPlugins and throws an InvalidOperationException with a localized message if Chat 2 is loaded, which Dalamud surfaces cleanly instead of letting the load proceed into a runtime crash. Bilingual messages (EN/DE) follow the existing HellionStrings pattern.
This commit is contained in:
+5
@@ -270,4 +270,9 @@ internal class HellionStrings
|
||||
internal static string Hint_v061_PopOutHeader_Body => Get(nameof(Hint_v061_PopOutHeader_Body));
|
||||
internal static string Hint_v061_PopOutHeader_Ack => Get(nameof(Hint_v061_PopOutHeader_Ack));
|
||||
internal static string Hint_v061_PopOutHeader_OpenSettings => Get(nameof(Hint_v061_PopOutHeader_OpenSettings));
|
||||
|
||||
// Hellion Chat — v1.0.0 Chat 2 parallel-load conflict detection
|
||||
internal static string ChatTwoConflictTitle => Get(nameof(ChatTwoConflictTitle));
|
||||
internal static string ChatTwoConflictBody => Get(nameof(ChatTwoConflictBody));
|
||||
internal static string ChatTwoConflictAction => Get(nameof(ChatTwoConflictAction));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user