Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -35,7 +35,7 @@ namespace Server.Engines.PartySystem
{
if ( obj is Mobile mobile )
{
Party p = Party.Get( mobile );
Party p = Get( mobile );
if ( p == null )
{
@ -57,7 +57,7 @@ namespace Server.Engines.PartySystem
public static void EventSink_PlayerDeath( PlayerDeathEventArgs e )
{
Mobile from = e.Mobile;
Party p = Party.Get( from );
Party p = Get( from );
if ( p != null )
{
@ -83,7 +83,7 @@ namespace Server.Engines.PartySystem
protected override void OnTick()
{
Party p = Party.Get( m_Mobile );
Party p = Get( m_Mobile );
if ( p == null )
return;
@ -116,7 +116,7 @@ namespace Server.Engines.PartySystem
public static void EventSink_Login( LoginEventArgs e )
{
Mobile from = e.Mobile;
Party p = Party.Get( from );
Party p = Get( from );
if ( p != null )
new RejoinTimer( from ).Start();
@ -127,7 +127,7 @@ namespace Server.Engines.PartySystem
public static void EventSink_Logout( LogoutEventArgs e )
{
Mobile from = e.Mobile;
Party p = Party.Get( from );
Party p = Get( from );
if ( p != null )
p.Remove( from );
@ -294,7 +294,7 @@ namespace Server.Engines.PartySystem
return;
}
Party p = Party.Get( from );
Party p = Get( from );
if ( p == null )
from.Party = p = new Party( from );

View file

@ -4,7 +4,7 @@ namespace Server.Engines.PartySystem
{
public static void Initialize()
{
PartyCommands.Handler = new PartyCommandHandlers();
Handler = new PartyCommandHandlers();
}
public override void OnAdd( Mobile from )