mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复 Event_TakeItem未初始化错误 fix #421
This commit is contained in:
parent
cf8d93a785
commit
7f3a5150f2
@ -690,7 +690,7 @@ namespace VPet_Simulator.Windows
|
||||
break;
|
||||
}
|
||||
|
||||
Event_TakeItem.Invoke(item);
|
||||
Event_TakeItem?.Invoke(item);
|
||||
}
|
||||
|
||||
public void RunAction(string action)
|
||||
@ -2085,6 +2085,7 @@ namespace VPet_Simulator.Windows
|
||||
Main.Say("哼哼~主人,我的考试成绩出炉了哦,快来和我一起看我的成绩单喵".Translate(), btn, "shining");
|
||||
});
|
||||
}
|
||||
#if BDAY
|
||||
if (DateTime.Now < new DateTime(2024, 8, 22))
|
||||
{
|
||||
food.Star = true;
|
||||
@ -2139,6 +2140,7 @@ namespace VPet_Simulator.Windows
|
||||
Main.Say(bdt.Translate(), btn, "self");
|
||||
});
|
||||
}
|
||||
#endif
|
||||
#if NewYear
|
||||
//仅新年功能
|
||||
if (DateTime.Now < new DateTime(2024, 2, 18))
|
||||
|
Loading…
Reference in New Issue
Block a user