mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
为联机提供旧版本名称兼容
This commit is contained in:
parent
ea46f7aeae
commit
2ef3c78916
@ -77,6 +77,8 @@ public class MPMOD
|
||||
if (lps.First().Name.ToLower() == "pet")
|
||||
{
|
||||
var name = lps.First().Info;
|
||||
if (name == "默认虚拟桌宠")
|
||||
name = "vup";//旧版本名称兼容
|
||||
var p = mw.Pets.FirstOrDefault(x => x.Name == name);
|
||||
if (p == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user