mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
Fix crash on empty files in ZoneCodeGenerator
This commit is contained in:
parent
fcc13d374f
commit
ff62e6d0fb
@ -29,7 +29,7 @@ namespace ZoneCodeGenerator.Parsing.Impl
|
||||
public string ReadLine()
|
||||
{
|
||||
Line++;
|
||||
return reader.ReadLine();
|
||||
return reader.ReadLine() ?? "";
|
||||
}
|
||||
|
||||
public void Close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user