mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-26 00:46:54 +00:00
Merge pull request #441 from SquidDev-CC/hotfix/paintutils-read
Fix a non-existent method being used in paintutils
This commit is contained in:
commit
1c8480a329
@ -35,7 +35,7 @@ function loadImage( sPath )
|
|||||||
|
|
||||||
if fs.exists( sPath ) then
|
if fs.exists( sPath ) then
|
||||||
local file = io.open( sPath, "r" )
|
local file = io.open( sPath, "r" )
|
||||||
local sContent = file:readAll()
|
local sContent = file:read("*a")
|
||||||
file:close()
|
file:close()
|
||||||
return parseImage( sContent ) -- delegate image parse to parseImage
|
return parseImage( sContent ) -- delegate image parse to parseImage
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user