Adds more formatting
This commit is contained in:
parent
e77d695684
commit
f674ec2be0
68 changed files with 530 additions and 876 deletions
|
|
@ -54,9 +54,7 @@ namespace Server.Items
|
|||
if ( Deleted )
|
||||
return;
|
||||
|
||||
SwampDragon pet = obj as SwampDragon;
|
||||
|
||||
if ( pet == null || pet.HasBarding )
|
||||
if ( !(obj is SwampDragon pet) || pet.HasBarding )
|
||||
{
|
||||
from.SendLocalizedMessage( 1053025 ); // That is not an unarmored swamp dragon.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue