This commit is contained in:
parent
4ee6ca5951
commit
06e5c8b732
70 changed files with 2798 additions and 286 deletions
|
|
@ -66,7 +66,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
if ( !( m_Commodity is ICommodity ) ) //Apparently, there may be items out there with this. Funky.
|
||||
if ( m_Commodity != null && !( m_Commodity is ICommodity ) ) //Apparently, there may be items out there with this. Funky.
|
||||
{
|
||||
Timer.DelayCall( TimeSpan.Zero, this.Delete );
|
||||
}
|
||||
|
|
@ -101,7 +101,7 @@ namespace Server.Items
|
|||
|
||||
public override int LabelNumber{ get{ return m_Commodity == null ? 1047016 : 1047017; } }
|
||||
|
||||
public override void GetProperties(ObjectPropertyList list)
|
||||
public override void GetProperties( ObjectPropertyList list )
|
||||
{
|
||||
base.GetProperties( list );
|
||||
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ namespace Server.Items
|
|||
Type resourceType = typeRes;
|
||||
|
||||
if ( resourceType == null )
|
||||
resourceType = craftItem.Ressources.GetAt( 0 ).ItemType;
|
||||
resourceType = craftItem.Resources.GetAt( 0 ).ItemType;
|
||||
|
||||
Resource = CraftResources.GetFromType( resourceType );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue