mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
Mod设置
This commit is contained in:
parent
659d86571f
commit
1da42926cf
@ -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();
|
||||
|
@ -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:|
|
||||
|
Loading…
Reference in New Issue
Block a user