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

@ -430,7 +430,9 @@ namespace Server.Items
var v = (int)name;
if (v >= 0 && v < TotalEntries.Length)
{
return TotalEntries[v];
}
return null;
}
@ -445,7 +447,9 @@ namespace Server.Items
var inGroup = false;
for (var j = 0; foundOn != null && !inGroup && j < foundOn.Length; ++j)
{
inGroup = foundOn[j] == type;
}
if (inGroup)
{
@ -483,8 +487,12 @@ namespace Server.Items
public bool OppositionSuperSlays(Mobile m)
{
for (var i = 0; i < Opposition.Length; i++)
{
if (Opposition[i].Super.Slays(m))
{
return true;
}
}
return false;
}