View Single Post
06/23/22, 05:27 AM   #11
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 5,011
I would not keep it just because it's still in a depends on somwhere. LibStub is obsolete.
I mean you can still use it if you like to but the libraries that used it in the past often got changed to not be compatible anymore so you cannot even use it in many circumstances!

LibStub can be very often "simply" replaced as described in the linked thread here:
https://www.esoui.com/forums/showthread.php?t=9149
-> If you see dependencies in subfolders (e.g. "libs") of addons
-> If the addon is old and still uses "LibStub" (an obsolete library for versioning)



I bet within Wykkyyd addons it's used for LibAddonMenu-2.0 ?
So just replace the lines like this:
local LAM = LibStub("LibAddonMenu-2.0")

with

local LAM = LibAddonMenu2

And remove the depnedsOn or optionalDependsOn LibStub.
  Reply With Quote