diff --git a/Controller/wheatController.lua b/Controller/wheatController.lua index 5b0e90b..7856e41 100644 --- a/Controller/wheatController.lua +++ b/Controller/wheatController.lua @@ -26,5 +26,8 @@ function toArray(str) len = str:len() comma = str:find(",") end + if(str ~= "") then + arr[#arr+1] = str + end return arr end \ No newline at end of file