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

@ -7,10 +7,7 @@ namespace Server.Items
public class GuildDeed : Item
{
[Constructible]
public GuildDeed() : base(0x14F0)
{
Weight = 1.0;
}
public GuildDeed() : base(0x14F0) => Weight = 1.0;
public GuildDeed(Serial serial) : base(serial)
{
@ -76,10 +73,7 @@ namespace Server.Items
{
private GuildDeed m_Deed;
public InternalPrompt(GuildDeed deed)
{
m_Deed = deed;
}
public InternalPrompt(GuildDeed deed) => m_Deed = deed;
public override void OnResponse(Mobile from, string text)
{

View file

@ -266,10 +266,7 @@ namespace Server.Items
public Item Deed => new GuildstoneDeed(Guild, m_GuildName, m_GuildAbbrev);
public bool CouldFit(IPoint3D p, Map map)
{
return map.CanFit(p.X, p.Y, p.Z, ItemData.Height);
}
public bool CouldFit(IPoint3D p, Map map) => map.CanFit(p.X, p.Y, p.Z, ItemData.Height);
#endregion
}