mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Bugfixes: removed hard nil val checks from toolkit.lua fixed few mismatches causing crashes
This commit is contained in:
@@ -114,9 +114,9 @@ function hooksecurefunc(a1, a2, a3)
|
||||
|
||||
local original_func = a1[a2]
|
||||
|
||||
a1[a2] = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
|
||||
local r1, r2, r3, r4, r5, r6, r7, r8, r9, r10 = original_func(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
|
||||
a3(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t)
|
||||
a1[a2] = function(...)
|
||||
local r1, r2, r3, r4, r5, r6, r7, r8, r9, r10 = original_func(unpack(arg))
|
||||
a3(unpack(arg))
|
||||
|
||||
return r1, r2, r3, r4, r5, r6, r7, r8, r9, r10
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user