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

@ -24,10 +24,7 @@ namespace Server.Ethics
protected PlayerCollection m_Players;
public Ethic()
{
m_Players = new PlayerCollection();
}
public Ethic() => m_Players = new PlayerCollection();
public EthicDefinition Definition => m_Definition;
@ -84,10 +81,7 @@ namespace Server.Ethics
return false;
}
public static bool IsImbued(Item item)
{
return IsImbued(item, false);
}
public static bool IsImbued(Item item) => IsImbued(item, false);
public static bool IsImbued(Item item, bool recurse)
{
@ -166,15 +160,9 @@ namespace Server.Ethics
}
}
public static Ethic Find(Mobile mob)
{
return Find(mob, false, false);
}
public static Ethic Find(Mobile mob) => Find(mob, false, false);
public static Ethic Find(Mobile mob, bool inherit)
{
return Find(mob, inherit, false);
}
public static Ethic Find(Mobile mob, bool inherit) => Find(mob, inherit, false);
public static Ethic Find(Mobile mob, bool inherit, bool allegiance)
{

View file

@ -15,10 +15,8 @@ namespace Server.Ethics
}
public EthicsPersistance(Serial serial)
: base(serial)
{
: base(serial) =>
Instance = this;
}
public static EthicsPersistance Instance{ get; private set; }

View file

@ -79,10 +79,7 @@ namespace Server.Ethics
}
}
public static Player Find(Mobile mob)
{
return Find(mob, false);
}
public static Player Find(Mobile mob) => Find(mob, false);
public static Player Find(Mobile mob, bool inherit)
{