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