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

@ -201,10 +201,7 @@ namespace Server.Gumps
AddLabelCropped(145 + half * 160, 60, 115, 17, hue, desc);
}
public static bool HasSpell(Mobile from, int spellID)
{
return Spellbook.Find(from, spellID)?.HasSpell(spellID) == true;
}
public static bool HasSpell(Mobile from, int spellID) => Spellbook.Find(from, spellID)?.HasSpell(spellID) == true;
public override void OnResponse(NetState state, RelayInfo info)
{
@ -410,10 +407,7 @@ namespace Server.Gumps
{
private Runebook m_Book;
public InternalPrompt(Runebook book)
{
m_Book = book;
}
public InternalPrompt(Runebook book) => m_Book = book;
public override void OnResponse(Mobile from, string text)
{