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.Config = this.Interface.GetPluginConfig() as Configuration ?? new Configuration();
|
||||||
this.Common = new XivCommonBase(pluginInterface, Hooks.ContextMenu | Hooks.PartyFinderListings);
|
this.Common = new XivCommonBase(pluginInterface, Hooks.ContextMenu | Hooks.PartyFinderListings);
|
||||||
|
|
||||||
this.Ui = new PluginUi(this);
|
|
||||||
|
|
||||||
this.Tools.Add(new HousingTool(this));
|
this.Tools.Add(new HousingTool(this));
|
||||||
this.Tools.Add(new TargetingTool(this));
|
this.Tools.Add(new TargetingTool(this));
|
||||||
|
|
||||||
|
@ -42,6 +40,8 @@ namespace RoleplayersToolbox {
|
||||||
this.Tools.Add(new EmoteSnapTool(this));
|
this.Tools.Add(new EmoteSnapTool(this));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
this.Ui = new PluginUi(this);
|
||||||
|
|
||||||
this.Commands = new Commands(this);
|
this.Commands = new Commands(this);
|
||||||
|
|
||||||
if (this.GameData == null) {
|
if (this.GameData == null) {
|
||||||
|
|
Loading…
Reference in New Issue