mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-15 09:40:49 +00:00
libs: skip library loading if already existing
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
-- load pfUI environment
|
||||
setfenv(1, pfUI:GetEnvironment())
|
||||
|
||||
-- return instantly when another libspell is already active
|
||||
if pfUI.api.libspell then return end
|
||||
|
||||
local scanner = libtipscan:GetScanner("libspell")
|
||||
local libspell = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user