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

@ -293,10 +293,7 @@ namespace Server.Mobiles
return false;
}
public override bool HandlesOnSpeech(Mobile from)
{
return !MLQuestSystem.Enabled && (from.InRange(Location, 3) || base.HandlesOnSpeech(from));
}
public override bool HandlesOnSpeech(Mobile from) => !MLQuestSystem.Enabled && (from.InRange(Location, 3) || base.HandlesOnSpeech(from));
public override void OnSpeech(SpeechEventArgs e)
{
@ -553,10 +550,7 @@ namespace Server.Mobiles
}
}
public override bool CanBeRenamedBy(Mobile from)
{
return from.AccessLevel >= AccessLevel.GameMaster;
}
public override bool CanBeRenamedBy(Mobile from) => from.AccessLevel >= AccessLevel.GameMaster;
public override void AddCustomContextEntries(Mobile from, List<ContextMenuEntry> list)
{
@ -580,10 +574,7 @@ namespace Server.Mobiles
base.AddCustomContextEntries(from, list);
}
public virtual string[] GetPossibleDestinations()
{
return Core.ML ? m_MLTownNames : m_TownNames;
}
public virtual string[] GetPossibleDestinations() => Core.ML ? m_MLTownNames : m_TownNames;
public virtual string PickRandomDestination()
{
@ -655,10 +646,7 @@ namespace Server.Mobiles
public Region Region{ get; }
public bool Contains(Point3D p)
{
return Region.Contains(p);
}
public bool Contains(Point3D p) => Region.Contains(p);
public static void LoadTable()
{
@ -730,10 +718,8 @@ namespace Server.Mobiles
private BaseEscortable m_Mobile;
public AbandonEscortEntry(BaseEscortable m)
: base(6102, 3)
{
: base(6102, 3) =>
m_Mobile = m;
}
public override void OnClick()
{