diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index 918aa25..80db32f 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -342,7 +342,8 @@ namespace VPet_Simulator.Windows { try { - if (mainplug.GetType().GetMethod("Setting").DeclaringType != typeof(MainPlugin) + if (mainplug.PluginName == mod.Name && + mainplug.GetType().GetMethod("Setting").DeclaringType != typeof(MainPlugin) && mainplug.GetType().Assembly.Location.Contains(mod.Path.FullName)) { ButtonSetting.Visibility = Visibility.Visible; @@ -923,7 +924,7 @@ namespace VPet_Simulator.Windows { try { - if (mainplug.GetType().GetMethod("Setting").DeclaringType != typeof(MainPlugin) + if (mainplug.PluginName == mod.Name && mainplug.GetType().GetMethod("Setting").DeclaringType != typeof(MainPlugin) && mainplug.GetType().Assembly.Location.Contains(mod.Path.FullName)) { mainplug.Setting(); diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps index d6e0c95..0380346 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps @@ -140,7 +140,7 @@ MOD介绍#MOD Description:| 停用该模组#Disable:| 更新至Steam#Update to Steam:| 创意工坊页面#Workshop Page:| -MOD设置#MOD:| +MOD设置#MOD Setting:| 启用代码插件#Enable code plugin:| 启用该模组的代码内容,不能保证系统安全性#Enabling this code content of the module, does not guarantee system security:| 关于#About:|