fixed a bug that prevented the plugin to load the configurationon game start
parent
a954d07fb7
commit
f0f6b6ae81
|
@ -17,10 +17,8 @@ namespace CurrencyAlert
|
|||
[NonSerialized]
|
||||
private DalamudPluginInterface? pluginInterface;
|
||||
|
||||
public void Initialize(DalamudPluginInterface pluginInterface)
|
||||
public Configuration()
|
||||
{
|
||||
this.pluginInterface = pluginInterface;
|
||||
|
||||
EnumHelper.Each<Currency>(currency =>
|
||||
{
|
||||
this.AlertEnabled[currency] = true;
|
||||
|
@ -29,6 +27,11 @@ namespace CurrencyAlert
|
|||
});
|
||||
}
|
||||
|
||||
public void Initialize(DalamudPluginInterface pluginInterface)
|
||||
{
|
||||
this.pluginInterface = pluginInterface;
|
||||
}
|
||||
|
||||
public void Save()
|
||||
{
|
||||
this.pluginInterface!.SavePluginConfig(this);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<Authors></Authors>
|
||||
<Company></Company>
|
||||
<Version>0.2.3.0</Version>
|
||||
<Version>0.2.4.0</Version>
|
||||
<Description>Currency Alert</Description>
|
||||
<Copyright></Copyright>
|
||||
<PackageProjectUrl>https://github.com/Lharz/xiv-currency-alert</PackageProjectUrl>
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
"Author": "Lharz",
|
||||
"Name": "Currency Alert",
|
||||
"Punchline": "Configure alerts thresholds for various currencies.",
|
||||
"Punchline": "Lets you setup alerts upon reaching certain currencies amount (such as Poetics or PVP marks).",
|
||||
"Description": "/currencyalert: show the configuration panel.",
|
||||
"InternalName": "currencyAlert",
|
||||
"ApplicableVersion": "any",
|
||||
"Tags": [
|
||||
"plugin",
|
||||
"currency",
|
||||
"tomestones"
|
||||
"tomestones",
|
||||
"utility",
|
||||
"other"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue