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

@ -26,7 +26,9 @@ namespace Server.Engines.PartySystem
Stream.Write((byte)p.Count);
for (var i = 0; i < p.Count; ++i)
{
Stream.Write(p[i].Mobile.Serial);
}
}
}
@ -43,7 +45,9 @@ namespace Server.Engines.PartySystem
Stream.Write(removed.Serial);
for (var i = 0; i < p.Count; ++i)
{
Stream.Write(p[i].Mobile.Serial);
}
}
}
@ -52,7 +56,9 @@ namespace Server.Engines.PartySystem
public PartyTextMessage(bool toAll, Mobile from, string text) : base(0xBF)
{
if (text == null)
{
text = "";
}
EnsureCapacity(12 + text.Length * 2);