From a623d63a1c634d81b41de3586219ef8edb3d35fd Mon Sep 17 00:00:00 2001 From: Flamanis Date: Tue, 9 Aug 2022 14:09:42 -0500 Subject: [PATCH] Provide Data1,2,3 to custom text funcs Allows users to write a custom text function that freely modifies data1, data2, and data3 on custom texts. --- core/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.lua b/core/util.lua index 9e9ac127..b6d8e4e7 100644 --- a/core/util.lua +++ b/core/util.lua @@ -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