diff --git a/patch/javaagent.patch b/patch/javaagent.patch index b739405..1a7fe06 100644 --- a/patch/javaagent.patch +++ b/patch/javaagent.patch @@ -11,5 +11,5 @@ diff --git a/HMCLauncher/HMCL/main.cpp b/HMCLauncher/HMCL/main.cpp + jvmOptions = jvmOptions + L" -javaagent:" + pluginLoaderPath; // Attach HMCL plugin loader + } } - + bool useChinese = GetUserDefaultUILanguage() == 2052; // zh-CN