comment tweak

This commit is contained in:
VorTechnix 2021-07-27 19:56:29 -07:00
parent 9ee24cf32f
commit 415f36013f

View file

@ -65,7 +65,7 @@ end
function worldeditadditions.split (str,dlm,plain) function worldeditadditions.split (str,dlm,plain)
local pos, ret = 0, {} local pos, ret = 0, {}
local ins, i = str:find(dlm,pos,plain) local ins, i = str:find(dlm,pos,plain)
-- if plain shaves off some time in the while statement -- "if plain" shaves off some time in the while statement
if plain then if plain then
while ins do while ins do
table.insert(ret,str:sub(pos,ins - 1)) table.insert(ret,str:sub(pos,ins - 1))