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

@ -109,10 +109,7 @@ namespace Server.Engines.Events
return loc;
}
public static bool CheckMobile(Mobile mobile)
{
return mobile?.Map != null && !mobile.Deleted && mobile.Alive && mobile.Map != Map.Internal;
}
public static bool CheckMobile(Mobile mobile) => mobile?.Map != null && !mobile.Deleted && mobile.Alive && mobile.Map != Map.Internal;
private class TrickOrTreatTarget : Target
{

View file

@ -3,10 +3,7 @@
public class TwilightLantern : Lantern
{
[Constructible]
public TwilightLantern()
{
Hue = Utility.RandomBool() ? 244 : 997;
}
public TwilightLantern() => Hue = Utility.RandomBool() ? 244 : 997;
public TwilightLantern(Serial serial)
: base(serial)
@ -15,10 +12,7 @@
public override string DefaultName => "Twilight Lantern";
public override bool AllowEquippedCast(Mobile from)
{
return true;
}
public override bool AllowEquippedCast(Mobile from) => true;
public override void GetProperties(ObjectPropertyList list)
{