Adds support for modernuo.json (#56)
This commit is contained in:
parent
567760a07a
commit
6119774dc9
5 changed files with 90 additions and 119 deletions
|
|
@ -294,9 +294,11 @@ namespace Server
|
|||
}
|
||||
else
|
||||
{
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine("tiledata.mul was not found");
|
||||
Console.WriteLine("Make sure your Scripts/Misc/DataPath.cs is properly configured");
|
||||
Console.WriteLine("Make sure your modernuo.json is properly configured");
|
||||
Console.WriteLine("After pressing return an exception will be thrown and the server will terminate");
|
||||
Console.ResetColor();
|
||||
|
||||
throw new Exception($"TileData: {filePath} not found");
|
||||
}
|
||||
|
|
@ -321,4 +323,4 @@ namespace Server
|
|||
return Encoding.ASCII.GetString(m_StringBuffer, 0, count);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue