This commit is contained in:
SoulliesOfficial
2025-12-11 17:25:49 -05:00
parent f7cab3e784
commit b54c5f796b
17 changed files with 113 additions and 36 deletions

View File

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