Fixes casting checks
This commit is contained in:
parent
7ea00fbf4f
commit
03dd5f1926
431 changed files with 5616 additions and 6250 deletions
|
|
@ -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 )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue