diff --git a/HealBot_Action.lua b/HealBot_Action.lua index 24ddda0..ddcc0f6 100644 --- a/HealBot_Action.lua +++ b/HealBot_Action.lua @@ -123,6 +123,9 @@ end function HealBot_SplitString(str, delimiter) local result = {} + if not delimiter or delimiter == "" then + return {str} + end local start_pos = 1 while true do local end_pos = string.find(str, delimiter, start_pos, true)