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

@ -179,15 +179,9 @@ namespace Server.Mobiles
Plinth.Location = new Point3D(X, Y, Z - 5);
}
public override bool CanBeRenamedBy(Mobile from)
{
return false;
}
public override bool CanBeRenamedBy(Mobile from) => false;
public override bool CanBeDamaged()
{
return false;
}
public override bool CanBeDamaged() => false;
public void OnRequestedAnimation(Mobile from)
{
@ -394,10 +388,7 @@ namespace Server.Mobiles
{
private CharacterStatue m_Statue;
public DemolishEntry(CharacterStatue statue) : base(6275, 2)
{
m_Statue = statue;
}
public DemolishEntry(CharacterStatue statue) : base(6275, 2) => m_Statue = statue;
public override void OnClick()
{

View file

@ -107,10 +107,7 @@ namespace Server.Engines.VeteranRewards
return (int)Math.Ceiling(i / 24.0);
}
private int GetButtonID(int type, int index)
{
return 2 + index * 20 + type;
}
private int GetButtonID(int type, int index) => 2 + index * 20 + type;
private void RenderCategory(RewardCategory category, int index, ref int page)
{