Adds more formatting
This commit is contained in:
parent
e77d695684
commit
f674ec2be0
68 changed files with 530 additions and 876 deletions
|
|
@ -413,9 +413,7 @@ namespace Server.Items
|
|||
|
||||
public void Placement_OnTarget( Mobile from, object targeted, object state )
|
||||
{
|
||||
IPoint3D p = targeted as IPoint3D;
|
||||
|
||||
if ( p == null || Deleted )
|
||||
if ( !(targeted is IPoint3D p) || Deleted )
|
||||
return;
|
||||
|
||||
Point3D loc = new Point3D( p );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue