aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Plugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Malmstone/Plugin.cs')
-rw-r--r--Malmstone/Plugin.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Malmstone/Plugin.cs b/Malmstone/Plugin.cs
index 5ed6a65..87ebb06 100644
--- a/Malmstone/Plugin.cs
+++ b/Malmstone/Plugin.cs
@@ -48,12 +48,14 @@ public sealed class Plugin : IDalamudPlugin
PvPAddon.EnableCrystallineConflictPostMatch();
if (Configuration.ShowProgressionChatPostRW)
PvPAddon.EnableRivalWingsPostMatch();
- if (Configuration.ShowProgressionChatPostFL)
+ if (Configuration.ShowProgressionChatPostFL || Configuration.TrackFrontlineBonus)
PvPAddon.EnableFrontlinePostMatch();
if (Configuration.ShowProgressionToastPostMatch)
PvPAddon.EnablePostMatchProgressionToast();
if (Configuration.ShowMainWindowOnPVPReward)
EnablePVPRewardWindowAddon();
+
+ PvPService.UpdateFrontlineResultCache();
if (Configuration.PostmatchProgressionToastType < 0 || Configuration.PostmatchProgressionToastType > 2)
{
@@ -84,13 +86,13 @@ public sealed class Plugin : IDalamudPlugin
PvPAddon.DisableCrystallineConflictPostMatch();
if (Configuration.ShowProgressionChatPostRW)
PvPAddon.DisableRivalWingsPostMatch();
- if (Configuration.ShowProgressionChatPostFL)
+ if (Configuration.ShowProgressionChatPostFL || Configuration.TrackFrontlineBonus)
PvPAddon.DisableFrontlinePostMatch();
if (Configuration.ShowProgressionToastPostMatch)
PvPAddon.DisablePostMatchProgressionToast();
if(Configuration.ShowMainWindowOnPVPReward)
DisablePVPRewardWindowAddon();
-
+
CommandManager.RemoveHandler(CommandName);
}
@@ -254,5 +256,6 @@ private void OnCommand(string command, string args)
AddonLifeCycle.UnregisterListener(AddonEvent.PostSetup, "PvpReward", MainWindow.OnOpenPVPRewardWindow);
AddonLifeCycle.UnregisterListener(AddonEvent.PreFinalize, "PvpReward", MainWindow.OnClosePVPRewardWindow);
}
+
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage