Skip to content

更新:宵禁 v2.3.0 加入在宵禁时间内允许可召唤已击败怪物#231

Merged
Controllerdestiny merged 2 commits intoUnrealMultiple:masterfrom
1242509682:master
Jun 19, 2024
Merged

更新:宵禁 v2.3.0 加入在宵禁时间内允许可召唤已击败怪物#231
Controllerdestiny merged 2 commits intoUnrealMultiple:masterfrom
1242509682:master

Conversation

@1242509682
Copy link
Copy Markdown
Contributor

No description provided.

return JsonConvert.DeserializeObject<Configuration>(sr.ReadToEnd())!;
using (var fs = new FileStream(FilePath, FileMode.Open, FileAccess.Read, FileShare.Read))
using (var sr = new StreamReader(fs))
return JsonConvert.DeserializeObject<Configuration>(sr.ReadToEnd())!;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JsonConvert.DeserializeObject(sr.ReadToEnd()) ?? new();

@ACaiCat
Copy link
Copy Markdown
Member

ACaiCat commented Jun 19, 2024

好奇为啥不把null检查关掉 (

@Controllerdestiny
Copy link
Copy Markdown
Contributor

好奇为啥不把null检查关掉 (
你已经是个成熟的程序员了请遵守nullable规范😡

@Controllerdestiny Controllerdestiny merged commit 21f8d1d into UnrealMultiple:master Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants