Skip to content

Commit

Permalink
自动化修改
Browse files Browse the repository at this point in the history
  • Loading branch information
YongAn404 committed Dec 10, 2024
1 parent e0314a0 commit 3ca3421
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ jobs:
- name: Upload NuGet package
uses: actions/upload-artifact@v4
with:
name: YongAnFrame
path: YongAnFrame.*.nupkg
1 change: 0 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ jobs:
- name: Upload NuGet package
uses: actions/upload-artifact@v4
with:
name: YongAnFrame
path: YongAnFrame.*.nupkg

8 changes: 4 additions & 4 deletions Commands/MessageCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
List<FramePlayer> choicePlayer = [];
if (arguments.Count < 3)
{
response = "不允许的格式,格式应该是int string int";
response = "不允许的格式,格式应该是 int string int";
return false;
}
switch (arguments.Array[1])
{
case "all":
if (!sender.CheckPermission("yongan404.message.choice.all"))
{
response = "请保证你有yongan404.message.choice.all权限";
response = "请保证你有 yongan404.message.choice.all 权限";
return false;
}
foreach (Player player in Player.List)
Expand All @@ -46,7 +46,7 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
{
if (idStringArray.Length > 1 && !sender.CheckPermission("yongan404.message.choice.multiple"))
{
response = "请保证你有yongan404.message.choice.multiple权限";
response = "请保证你有 yongan404.message.choice.multiple 权限";
return false;
}

Expand All @@ -73,7 +73,7 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
{
if (duration > 10 && !sender.CheckPermission("yongan404.message.send.large_duration"))
{
response = "请保证你有yongan404.message.send.large_duration权限";
response = "请保证你有 yongan404.message.send.large_duration 权限";
return false;
}

Expand Down
1 change: 0 additions & 1 deletion YongAnFrame.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
<None Include="README.md" />
<None Include="YongAnFrame.nuspec" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
Expand Down
5 changes: 5 additions & 0 deletions docs/articles/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: articles
---

# null
2 changes: 1 addition & 1 deletion docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"_lang": "zh-CN",
"_gitContribute": {
"repo": "https://github.com/SCP-SL-Plugin-YongAnTeam/YongAnFrame",
"branch": "dev"
"branch": "master"
}
},
"template": [ "default", "modern" ],
Expand Down
Binary file modified lib/net48/Assembly-CSharp-firstpass.dll
Binary file not shown.
Binary file modified lib/net48/Mirror.dll
Binary file not shown.

0 comments on commit 3ca3421

Please sign in to comment.