Skip to content

更新:ServerToolsv 1.1.6,加入了禁肉前第七格饰品栏与NPC保护#209

Merged
Controllerdestiny merged 5 commits intoUnrealMultiple:masterfrom
1242509682:master
Jun 15, 2024
Merged

更新:ServerToolsv 1.1.6,加入了禁肉前第七格饰品栏与NPC保护#209
Controllerdestiny merged 5 commits intoUnrealMultiple:masterfrom
1242509682:master

Conversation

@1242509682
Copy link
Copy Markdown
Contributor

No description provided.

return;
var itemsToRemove = new List<Item>();
if (!Config.KeepArmor || e.Player.HasPermission("servertool.armor.white")) return;
if (Config.KeepArmor2 || !Main.hardMode) { clear.Clear7Item(e); }
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.

这里应该是 && 吧?

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.

检测第七个哪用这么多逻辑,playey.armor[6].netID != 0

然后检测用静态方法

@Controllerdestiny Controllerdestiny merged commit 5e66567 into UnrealMultiple:master Jun 15, 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.

2 participants