Skip to content

fix:修复自动存储的“手持存储模式”#515

Merged
LaoSparrow merged 3 commits intoUnrealMultiple:masterfrom
1242509682:master
Oct 9, 2024
Merged

fix:修复自动存储的“手持存储模式”#515
LaoSparrow merged 3 commits intoUnrealMultiple:masterfrom
1242509682:master

Conversation

@1242509682
Copy link
Copy Markdown
Contributor

详细说明

修复自动存储的“手持存储模式”

PR 自查表

更新插件/修复BUG

  • 插件已修改版本号
  • 更新插件README.md中的更新日志
  • 插件可以正常工作

其他

  • ❤️Cai我喜欢你

@Controllerdestiny
Copy link
Copy Markdown
Contributor

详细说明

修复自动存储的“手持存储模式”

PR 自查表

更新插件/修复BUG

  • 插件已修改版本号
  • 更新插件README.md中的更新日志
  • 插件可以正常工作

其他

  • ❤️Cai我喜欢你

算先别合了晚上有时间我还得改


if (Timer % Config.ItemTime == 0)
//自动存物品
if (Timer % Config.ItemTime == 0)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

最好是int, 其实没必要用float

var armor = plr.TPlayer.armor.Take(10).Where(x => x.netID == item).ToList();
var hasArmor = armor.Any();
bool hasArmor = armor.Any();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

gitedit的规范用的是var,MayBe需要格式化一下

{
return false;
}
if (!tplr.IsLoggedIn || tplr == null) return false;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

大括号也是要留的,不过格式化以下就行了

@LaoSparrow LaoSparrow added this pull request to the merge queue Oct 9, 2024
Merged via the queue into UnrealMultiple:master with commit b5e2f61 Oct 9, 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.

4 participants