Fixes brace style (#248)
This commit is contained in:
parent
a236617ad9
commit
8149620b0c
1503 changed files with 28575 additions and 1717 deletions
|
|
@ -23,7 +23,9 @@ namespace Server.Commands.Generic
|
|||
var ext = Extensions.Parse(from, ref args);
|
||||
|
||||
if (!CheckObjectTypes(from, command, ext, out var _, out var mobiles))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var reg = from.Region;
|
||||
|
||||
|
|
@ -34,10 +36,14 @@ namespace Server.Commands.Generic
|
|||
foreach (var mob in reg.GetMobiles())
|
||||
{
|
||||
if (!BaseCommand.IsAccessible(from, mob))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (ext.IsValid(mob))
|
||||
{
|
||||
list.Add(mob);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue