From 55ddc16b2e9dfdf442c2ade756c09f080ae7e750 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Tue, 4 Jul 2023 14:50:14 -0700 Subject: [PATCH] small fix to file:read error --- worldeditadditions_core/utils/setting_handler.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions_core/utils/setting_handler.lua b/worldeditadditions_core/utils/setting_handler.lua index 5265c97..11c5106 100644 --- a/worldeditadditions_core/utils/setting_handler.lua +++ b/worldeditadditions_core/utils/setting_handler.lua @@ -16,7 +16,7 @@ setting_handler.read = function() local file, err = io.open(path .. "/settings.conf", "rb") if err then return false end -- Split by newline - -- local settings = wea_c.split(file:read(),"[\n\r]+") + -- local settings = wea_c.split(file:read("*a"),"[\n\r]+") file:close() end