public static void BeforeSave(BeforeWorldSaveEventArgs args) { List <ResponseEntry> list = Entries.Where(e => e.Expired).ToList(); foreach (ResponseEntry entry in list) { Entries.Remove(entry); } }
public static void BeforeSave(BeforeWorldSaveEventArgs args) { var list = Entries.Where(e => e.Expired).ToList(); foreach (var entry in list) { Entries.Remove(entry); } }
private static void StopOneTime(BeforeWorldSaveEventArgs e) { IsPaused = true; }