diff --git a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/io.lua b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/io.lua index 6291318da..24795a71b 100644 --- a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/io.lua +++ b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/io.lua @@ -147,7 +147,7 @@ handleMetatable = { if format == "l" then if handle.readLine then res = handle.readLine() end - elseif format == "L" and handle.readLine then + elseif format == "L" then if handle.readLine then res = handle.readLine(true) end elseif format == "a" then if handle.readAll then res = handle.readAll() or "" end