View Single Post
04/25/20, 03:10 PM   #1
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
LibDialog will remove LibStub support with Greymoor API10031 update

LibDialog will remove LibStub support with the Greymoor API100031 update.
Please use the global variable "LibDialog" in your addons instead!

In your code change lines like this:
Code:
local ld = LibStub("LibDialog")
to this:
Lua Code:
  1. local ld = LibDialog

In your addon's txt manifest file:
Use the same ## OptionaDependsOn: LibDialog or ## DependsOn: LibDialog
You should remove any OptionalDependsOn or DependsOn: LibStub though if none of the libraries in your addon need it anymore.
  Reply With Quote