Fixes casting checks

This commit is contained in:
Kamron Batman 2018-08-19 01:38:55 +08:00
parent 7ea00fbf4f
commit 03dd5f1926
431 changed files with 5616 additions and 6250 deletions

View file

@ -23,12 +23,12 @@ namespace Server.Items
public override ArmorMaterialType MaterialType => ArmorMaterialType.Chainmail;
[Constructible]
public ChainCoif() : base( 0x13BB )
public ChainCoif () : base( 0x13BB )
{
Weight = 1.0;
}
public ChainCoif( Serial serial ) : base( serial )
public ChainCoif ( Serial serial ) : base( serial )
{
}

View file

@ -46,7 +46,7 @@ namespace Server.Items
base.Deserialize( reader );
int version = reader.ReadInt();
if( version == 0 && ( Weight == 1 || Weight == 5 ) )
if ( version == 0 && ( Weight == 1 || Weight == 5 ) )
{
Weight = -1;
}