Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue