Minimap button via LibDBIcon#37
Conversation
|
Hi @latchee thanks for this PR, i'm a little busy in IRL right now, i'll take a look sone. |
The linter doesn't know MultiBotMinimapIconDB is a legitimate SavedVariable global. The fix is a single luacheck annotation at the top of the OnEvent block declaring it as an intentional global.
Added MultiBotMinimapIconDB to saved variables.
|
I am no expert but I ran those LUA lint warnings through Claude, we just needed to add the line 45 and the missing global saved variable MultiBotMinimapIconDB was also added to the toc file :
|
The MultiBotMinimap.lua file (in the UI folder) does not use LibDBIcon and LibDataBroker even though those libs are available.
I worked with Claude and changed the code to use those libs. This allows the addon to register with any databroker (fubar, bazooka, chocolate bar)..