Adds more formatting
This commit is contained in:
parent
e77d695684
commit
f674ec2be0
68 changed files with 530 additions and 876 deletions
|
|
@ -245,8 +245,7 @@ namespace Server.Items
|
|||
if ( !m_Contract.IsUsableBy( from, false, true, true, true ) )
|
||||
return;
|
||||
|
||||
IPoint3D location = targeted as IPoint3D;
|
||||
if ( location == null )
|
||||
if ( !(targeted is IPoint3D location) )
|
||||
return;
|
||||
|
||||
Point3D pLocation = new Point3D( location );
|
||||
|
|
@ -284,8 +283,7 @@ namespace Server.Items
|
|||
}
|
||||
else
|
||||
{
|
||||
bool vendor, contract;
|
||||
BaseHouse.IsThereVendor( pLocation, map, out vendor, out contract );
|
||||
BaseHouse.IsThereVendor( pLocation, map, out var vendor, out var contract );
|
||||
|
||||
if ( vendor )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue