Fixes brace style (#248)

This commit is contained in:
Kamron Batman 2020-09-13 21:49:46 -07:00 • committed by GitHub
parent a236617ad9
commit 8149620b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1503 changed files with 28575 additions and 1717 deletions

View file

@ -47,7 +47,9 @@ namespace Server.Commands.Generic
var args = new string[oldArgs.Length - 2];
for (var i = 0; i < args.Length; ++i)
{
args[i] = oldArgs[i + 2];
}
Process(range, e.Mobile, command, args);
}
@ -64,12 +66,16 @@ namespace Server.Commands.Generic
var impl = AreaCommandImplementor.Instance;
if (impl == null)
{
return;
}
var map = from.Map;
if (map == null || map == Map.Internal)
{
return;
}
var start = new Point3D(from.X - range, from.Y - range, from.Z);
var end = new Point3D(from.X + range, from.Y + range, from.Z);