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

@ -139,15 +139,9 @@ namespace Server.Multis
return base.CheckHold(m, item, message, checkItems, plusItems, plusWeight);
}
public override bool CheckLift(Mobile from, Item item, ref LRReason reject)
{
return House?.Deleted == false && base.CheckLift(from, item, ref reject) && House.IsOwner(from);
}
public override bool CheckLift(Mobile from, Item item, ref LRReason reject) => House?.Deleted == false && base.CheckLift(from, item, ref reject) && House.IsOwner(from);
public override bool CheckItemUse(Mobile from, Item item)
{
return House?.Deleted == false && base.CheckItemUse(from, item) && House.IsOwner(from);
}
public override bool CheckItemUse(Mobile from, Item item) => House?.Deleted == false && base.CheckItemUse(from, item) && House.IsOwner(from);
public override void OnItemRemoved(Item item)
{
@ -254,10 +248,7 @@ namespace Server.Multis
public class PackingBox : BaseContainer
{
public PackingBox() : base(0x9A8)
{
Movable = false;
}
public PackingBox() : base(0x9A8) => Movable = false;
public PackingBox(Serial serial) : base(serial)
{