修复
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Continentis.MainGame
|
||||
|
||||
public static string Parse(Interpreter interpreter, string template)
|
||||
{
|
||||
try
|
||||
//try
|
||||
{
|
||||
while (template.Contains("$"))
|
||||
{
|
||||
@@ -58,10 +58,10 @@ namespace Continentis.MainGame
|
||||
template = template.Substring(0, startIndex) + resultAsLiteral + template.Substring(endIndex + 1);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
/*catch (Exception ex)
|
||||
{
|
||||
throw new Exception($"解析模板时发生严重错误: {ex.Message}\nStackTrace: {ex.StackTrace}");
|
||||
}
|
||||
}*/
|
||||
|
||||
return template;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user