Adds support for modernuo.json (#56)

This commit is contained in:
Leath Cooper 2019-10-04 23:47:34 -04:00 • committed by Kamron Batman
parent 567760a07a
commit 6119774dc9
5 changed files with 90 additions and 119 deletions

View file

@ -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);
}
}
}
}