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

@ -27,7 +27,7 @@ namespace Server.Items
}
set
{
bool breathing = this.Breathing;
bool breathing = Breathing;
ItemID = ( breathing ? GetFireID( value ) : GetBaseID( value ) );
}
@ -35,13 +35,13 @@ namespace Server.Items
public bool Breathing
{
get => ( ItemID == GetFireID( this.Type ) );
get => ( ItemID == GetFireID( Type ) );
set
{
if ( value )
ItemID = GetFireID( this.Type );
ItemID = GetFireID( Type );
else
ItemID = GetBaseID( this.Type );
ItemID = GetBaseID( Type );
}
}