mirror of
https://github.com/LorisYounger/VPet.ModMaker.git
synced 2024-08-30 18:22:21 +00:00
# 修复
- 本体有同名宠物会导致启动失败
This commit is contained in:
parent
1b1f52d912
commit
22ec7b67c0
@ -50,7 +50,7 @@ public class ModMaker : MainPlugin
|
||||
ModMakerInfo.GameVersion = MW.version;
|
||||
// 载入本体宠物
|
||||
foreach (var pet in MW.Pets)
|
||||
ModMakerInfo.MainPets.Add(pet.Name, new(pet, true));
|
||||
ModMakerInfo.MainPets.TryAdd(pet.Name, new(pet, true));
|
||||
//Maker.ModMaker = this;
|
||||
Maker.Show();
|
||||
Maker.Closed += Maker_Closed;
|
||||
|
Loading…
Reference in New Issue
Block a user