From 9aef0bdabeeade8a6734cc7a35c75aaefb178fa4 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 11 Jan 2023 18:56:27 +0000 Subject: [PATCH] Update 'Controller/wheatController.lua' --- Controller/wheatController.lua | 3 +++ 1 file changed, 3 insertions(+) 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