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

@ -32,7 +32,7 @@ namespace Server.Items
{
base.GetProperties( list );
Recipe r = this.Recipe;
Recipe r = Recipe;
if ( r != null )
list.Add( 1049644, r.TextDefinition.ToString() ); // [~1_stuff~]
@ -57,13 +57,13 @@ namespace Server.Items
public override void OnDoubleClick( Mobile from )
{
if ( !from.InRange( this.GetWorldLocation(), 2 ) )
if ( !from.InRange( GetWorldLocation(), 2 ) )
{
from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 1019045 ); // I can't reach that.
return;
}
Recipe r = this.Recipe;
Recipe r = Recipe;
if ( r != null && from is PlayerMobile pm )
{
@ -76,7 +76,7 @@ namespace Server.Items
{
pm.SendLocalizedMessage( 1073451, r.TextDefinition.ToString() ); // You have learned a new recipe: ~1_RECIPE~
pm.AcquireRecipe( r );
this.Delete();
Delete();
}
else
{