Adds more formatting
This commit is contained in:
parent
e77d695684
commit
f674ec2be0
68 changed files with 530 additions and 876 deletions
|
|
@ -100,9 +100,8 @@ namespace Server.Items
|
|||
{
|
||||
from.SendLocalizedMessage( 501928 ); // You can't target the same ticket!
|
||||
}
|
||||
else if ( targeted is NewPlayerTicket )
|
||||
else if ( targeted is NewPlayerTicket theirTicket )
|
||||
{
|
||||
NewPlayerTicket theirTicket = targeted as NewPlayerTicket;
|
||||
Mobile them = theirTicket.m_Owner;
|
||||
|
||||
if ( them == null || them.Deleted )
|
||||
|
|
@ -115,7 +114,7 @@ namespace Server.Items
|
|||
them.SendGump( new InternalGump( them, theirTicket ) );
|
||||
}
|
||||
}
|
||||
else if ( targeted is Item && ((Item)targeted).ItemID == 0x14F0 )
|
||||
else if ((targeted as Item)?.ItemID == 0x14F0 )
|
||||
{
|
||||
from.SendLocalizedMessage( 501931 ); // You need to find another ticket marked NEW PLAYER.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue