Merge pull request #326 from Flamanis/CustomText

Provide Data1,2,3 to custom text funcs
This commit is contained in:
Tercio Jose
2022-08-09 16:41:34 -03:00
committed by GitHub
+1 -1
View File
@@ -743,7 +743,7 @@
function_cache [str] = func
end
local okey, value = _pcall (func, parameters_cache [1], parameters_cache [2], parameters_cache [3], parameters_cache [4])
local okey, value = _pcall (func, parameters_cache [1], parameters_cache [2], parameters_cache [3], parameters_cache [4], arguments_cache[1], arguments_cache[2], arguments_cache[3])
if (not okey) then
_detalhes:Msg ("|cFFFF9900error on custom text|r:", value)
return 0