Adds more formatting
This commit is contained in:
parent
e77d695684
commit
f674ec2be0
68 changed files with 530 additions and 876 deletions
|
|
@ -202,34 +202,24 @@ namespace Server.Items
|
|||
|
||||
public override bool OnDragDrop( Mobile from, Item dropped )
|
||||
{
|
||||
RecallRune rune = dropped as RecallRune;
|
||||
|
||||
if ( rune != null && base.OnDragDrop( from, dropped ) )
|
||||
if ( dropped is RecallRune rune && base.OnDragDrop( from, dropped ) )
|
||||
{
|
||||
Mark( rune );
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool OnDragDropInto( Mobile from, Item dropped, Point3D p )
|
||||
{
|
||||
RecallRune rune = dropped as RecallRune;
|
||||
|
||||
if ( rune != null && base.OnDragDropInto( from, dropped, p ) )
|
||||
if ( dropped is RecallRune rune && base.OnDragDropInto( from, dropped, p ) )
|
||||
{
|
||||
Mark( rune );
|
||||
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue