Fixes casting checks
This commit is contained in:
parent
7ea00fbf4f
commit
03dd5f1926
431 changed files with 5616 additions and 6250 deletions
|
|
@ -122,7 +122,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnSuccessfulBulkOrderReceive( Mobile from )
|
||||
{
|
||||
if( Core.SE && from is PlayerMobile )
|
||||
if ( Core.SE && from is PlayerMobile )
|
||||
((PlayerMobile)from).NextSmithBulkOrder = TimeSpan.Zero;
|
||||
}
|
||||
#endregion
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnSuccessfulBulkOrderReceive( Mobile from )
|
||||
{
|
||||
if( Core.SE && from is PlayerMobile )
|
||||
if ( Core.SE && from is PlayerMobile )
|
||||
((PlayerMobile)from).NextTailorBulkOrder = TimeSpan.Zero;
|
||||
}
|
||||
#endregion
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ namespace Server.Mobiles
|
|||
public override void InitSBInfo()
|
||||
{
|
||||
m_SBInfos.Add( new SBWeaponSmith() );
|
||||
|
||||
|
||||
if ( IsTokunoVendor )
|
||||
m_SBInfos.Add( new SBSEWeapons() );
|
||||
}
|
||||
|
|
@ -91,7 +91,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnSuccessfulBulkOrderReceive( Mobile from )
|
||||
{
|
||||
if( Core.SE && from is PlayerMobile )
|
||||
if ( Core.SE && from is PlayerMobile )
|
||||
((PlayerMobile)from).NextSmithBulkOrder = TimeSpan.Zero;
|
||||
}
|
||||
#endregion
|
||||
|
|
@ -114,4 +114,4 @@ namespace Server.Mobiles
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnSuccessfulBulkOrderReceive( Mobile from )
|
||||
{
|
||||
if( Core.SE && from is PlayerMobile )
|
||||
if ( Core.SE && from is PlayerMobile )
|
||||
((PlayerMobile)from).NextTailorBulkOrder = TimeSpan.Zero;
|
||||
}
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue