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

@ -29,13 +29,17 @@ namespace Server.Items
var version = reader.ReadInt();
if (Weight == 0.0)
{
Weight = 1.0;
}
}
public override void OnDoubleClick(Mobile from)
{
if (Guild.NewGuildSystem)
{
return;
}
if (!IsChildOf(from.Backpack))
{
@ -78,7 +82,9 @@ namespace Server.Items
public override void OnResponse(Mobile from, string text)
{
if (m_Deed.Deleted)
{
return;
}
if (!m_Deed.IsChildOf(from.Backpack))
{
@ -109,7 +115,9 @@ namespace Server.Items
m_Deed.Delete();
if (text.Length > 40)
{
text = text.Substring(0, 40);
}
var guild = new Guild(from, text, "none");