Skip to content

Commit

Permalink
Revert "API: Block the AddonSkins bar style until the various issues …
Browse files Browse the repository at this point in the history
…it has started causing can be investigated"

This reverts commit 704d2c0.
  • Loading branch information
nebularg committed Aug 22, 2023
1 parent 4cdad22 commit 894cc27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion API.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ do
-- For more on bar styles, visit: https://github.com/BigWigsMods/BigWigs/wiki/Custom-Bar-Styles
function API:RegisterBarStyle(key, styleData)
if type(key) ~= "string" then error("Bar style must be a string.") end
if key:find("AddOnSkins") then return end -- XXX banned for causing too many support requests, needs investigated further
if type(styleData) ~= "table" then error("Bar style data must be a table.") end
if type(styleData.version) ~= "number" then error("Bar style version must be a number.") end
if type(styleData.apiVersion) ~= "number" then error("Bar style apiVersion must be a number.") end
Expand Down

0 comments on commit 894cc27

Please sign in to comment.