fix: only start drawing ui after tools have been added
This commit is contained in:
parent
2cad97e592
commit
f3039a6cef
|
@ -32,8 +32,6 @@ namespace RoleplayersToolbox {
|
|||
this.Config = this.Interface.GetPluginConfig() as Configuration ?? new Configuration();
|
||||
this.Common = new XivCommonBase(pluginInterface, Hooks.ContextMenu | Hooks.PartyFinderListings);
|
||||
|
||||
this.Ui = new PluginUi(this);
|
||||
|
||||
this.Tools.Add(new HousingTool(this));
|
||||
this.Tools.Add(new TargetingTool(this));
|
||||
|
||||
|
@ -42,6 +40,8 @@ namespace RoleplayersToolbox {
|
|||
this.Tools.Add(new EmoteSnapTool(this));
|
||||
#endif
|
||||
|
||||
this.Ui = new PluginUi(this);
|
||||
|
||||
this.Commands = new Commands(this);
|
||||
|
||||
if (this.GameData == null) {
|
||||
|
|
Loading…
Reference in New Issue