|
@@ -144,7 +144,7 @@ namespace HuntBuddy
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Command("/phb")]
|
|
[Command("/phb")]
|
|
|
- [HelpMessage("Toggles UI\nArguments:\nreload - Reloads data")]
|
|
|
|
|
|
|
+ [HelpMessage("Toggles UI\nArguments:\nreload - Reloads data\nlocal - Toggles the local hunt marks window")]
|
|
|
public void PluginCommand(string command, string args)
|
|
public void PluginCommand(string command, string args)
|
|
|
{
|
|
{
|
|
|
if (args == "reload")
|
|
if (args == "reload")
|
|
@@ -152,6 +152,11 @@ namespace HuntBuddy
|
|
|
this.MobHuntEntriesReady = false;
|
|
this.MobHuntEntriesReady = false;
|
|
|
Task.Run(this.ReloadData);
|
|
Task.Run(this.ReloadData);
|
|
|
}
|
|
}
|
|
|
|
|
+ else if (args == "local")
|
|
|
|
|
+ {
|
|
|
|
|
+ this.Configuration.ShowLocalHunts = !this.Configuration.ShowLocalHunts;
|
|
|
|
|
+ this.Configuration.Save();
|
|
|
|
|
+ }
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
this.OpenConfigUi();
|
|
this.OpenConfigUi();
|