fix: initialise in settings in ctor

This commit is contained in:
Anna 2022-02-19 06:56:57 -05:00
parent 4d3b961704
commit 725c15ff2d

View File

@ -30,6 +30,8 @@ internal sealed class Settings : IUiComponent {
new About(), new About(),
}; };
this.Initialise();
this.Ui.Plugin.Commands.Register("/chat2", "Perform various actions with Chat 2.").Execute += this.Command; this.Ui.Plugin.Commands.Register("/chat2", "Perform various actions with Chat 2.").Execute += this.Command;
this.Ui.Plugin.Interface.UiBuilder.OpenConfigUi += this.Toggle; this.Ui.Plugin.Interface.UiBuilder.OpenConfigUi += this.Toggle;
} }