Fixes more casting and other formatting issues.
This commit is contained in:
parent
03dd5f1926
commit
61937d9c97
67 changed files with 325 additions and 570 deletions
|
|
@ -15,9 +15,9 @@ namespace Server.Engines.Plants
|
|||
|
||||
protected override void OnTarget( Mobile from, object targeted )
|
||||
{
|
||||
if ( !m_Plant.Deleted && from.InRange( m_Plant.GetWorldLocation(), 3 ) && targeted is Item )
|
||||
if ( !m_Plant.Deleted && from.InRange( m_Plant.GetWorldLocation(), 3 ) && targeted is Item item )
|
||||
{
|
||||
m_Plant.Pour( from, (Item)targeted );
|
||||
m_Plant.Pour( from, item );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -32,4 +32,4 @@ namespace Server.Engines.Plants
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue