Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -44,8 +44,8 @@ namespace Server.Items
private class ResurrectEntry : ContextMenuEntry
{
private Item m_Item;
private Mobile m_Mobile;
private readonly Item m_Item;
private readonly Mobile m_Mobile;
public ResurrectEntry(Mobile mobile, Item item) : base(6195, ResurrectRange)
{
@ -63,7 +63,7 @@ namespace Server.Items
private class LockKarmaEntry : ContextMenuEntry
{
private PlayerMobile m_Mobile;
private readonly PlayerMobile m_Mobile;
public LockKarmaEntry(PlayerMobile mobile) : base(mobile.KarmaLocked ? 6197 : 6196, LockRange) => m_Mobile = mobile;
@ -81,7 +81,7 @@ namespace Server.Items
private class TitheEntry : ContextMenuEntry
{
private Mobile m_Mobile;
private readonly Mobile m_Mobile;
public TitheEntry(Mobile mobile) : base(6198, TitheRange)
{