From 8d9f71867e890a8624bf8891ffa785c2654e4305 Mon Sep 17 00:00:00 2001 From: milimoe Date: Tue, 3 Feb 2026 23:37:33 +0800 Subject: [PATCH] =?UTF-8?q?api=20=E5=8F=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Tests/CheckDLL.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Tests/CheckDLL.cs b/Library/Tests/CheckDLL.cs index 8326f96..87330de 100644 --- a/Library/Tests/CheckDLL.cs +++ b/Library/Tests/CheckDLL.cs @@ -17,9 +17,9 @@ namespace Milimoe.FunGame.Testing.Tests } Dictionary plugindllsha256 = []; - foreach (string pfp in PluginLoader.PluginFilePaths.Keys) + foreach (string pfp in plugins.PluginFilePaths.Keys) { - string text = Encryption.FileSha256(PluginLoader.PluginFilePaths[pfp]); + string text = Encryption.FileSha256(plugins.PluginFilePaths[pfp]); plugindllsha256.Add(pfp, text); Console.WriteLine(pfp + $" is {text}."); } @@ -41,9 +41,9 @@ namespace Milimoe.FunGame.Testing.Tests } Dictionary moduledllsha256 = []; - foreach (string mfp in GameModuleLoader.ModuleFilePaths.Keys) + foreach (string mfp in modules.ModuleFilePaths.Keys) { - string text = Encryption.FileSha256(GameModuleLoader.ModuleFilePaths[mfp]); + string text = Encryption.FileSha256(modules.ModuleFilePaths[mfp]); moduledllsha256.Add(mfp, text); Console.WriteLine(mfp + $" is {text}."); } @@ -54,7 +54,7 @@ namespace Milimoe.FunGame.Testing.Tests { if (!serverModels.ModuleServers[moduledll].IsAnonymous) { - string server = Encryption.FileSha256(GameModuleLoader.ModuleFilePaths[moduledll]); + string server = Encryption.FileSha256(serverModels.ModuleFilePaths[moduledll]); string client = moduledllsha256[moduledll]; if (server == client) {