Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -174,10 +174,7 @@ namespace Server.Engines.PartySystem
from.Party = null;
}
public static Party Get(Mobile m)
{
return m?.Party as Party;
}
public static Party Get(Mobile m) => m?.Party as Party;
public void Add(Mobile m)
{
@ -288,10 +285,7 @@ namespace Server.Engines.PartySystem
}
}
public bool Contains(Mobile m)
{
return this[m] != null;
}
public bool Contains(Mobile m) => this[m] != null;
public void Disband()
{
@ -433,10 +427,7 @@ namespace Server.Engines.PartySystem
{
private Mobile m_Mobile;
public RejoinTimer(Mobile m) : base(TimeSpan.FromSeconds(1.0))
{
m_Mobile = m;
}
public RejoinTimer(Mobile m) : base(TimeSpan.FromSeconds(1.0)) => m_Mobile = m;
protected override void OnTick()
{