- Partially implement tab switch

- Better support character switch
This commit is contained in:
Infi
2024-08-28 18:18:20 +02:00
parent 17ed40307c
commit f6531907a4
7 changed files with 35 additions and 5 deletions
+4
View File
@@ -374,6 +374,10 @@ public sealed class ChatLogWindow : Window
// If channel is null it doesn't have a default, and we never selected this channel before
if (channel != null)
SetChannel(tab.Channel ?? tab.PreviousChannel);
// Inform the webinterface about tab switch
// TODO implement tabs in the webinterface
Plugin.ServerCore.SendNewLogin();
}
internal static bool InBattle => Plugin.Condition[ConditionFlag.InCombat];