Skip to content

更新:宵禁v2.5.0 加入了召唤区(开启后会切换第二种逻辑),优化指令方法#238

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

更新:宵禁v2.5.0 加入了召唤区(开启后会切换第二种逻辑),优化指令方法#238
Controllerdestiny merged 2 commits intoUnrealMultiple:masterfrom
1242509682:master

Conversation

@1242509682
Copy link
Copy Markdown
Contributor

No description provided.


private static bool InRegion(string regionName)
{
for (int i = 0; i < Main.maxPlayers; i++)
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.

foreach(var plr in TShock.Players)
{
if(plr != null && plr.Active && plr.CurrentRegion != null && plr.CurrentRegion.Name == regionName)
}

@Controllerdestiny Controllerdestiny merged commit 9319375 into UnrealMultiple:master Jun 20, 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