Formatting #2 (#59)

This commit is contained in:
Kamron Batman 2019-10-05 00:37:03 -07:00 • committed by GitHub
parent 096d39609e
commit 8e9221bb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 3688 additions and 5969 deletions

View file

@ -46,22 +46,14 @@ namespace Server.Items
else if (Light == LightType.NorthBig)
Light = LightType.WestBig;
switch (ItemID)
ItemID = ItemID switch
{
case 0x9FB:
ItemID = 0xA00;
break;
case 0x9FD:
ItemID = 0xA02;
break;
case 0xA00:
ItemID = 0x9FB;
break;
case 0xA02:
ItemID = 0x9FD;
break;
}
0x9FB => 0xA00,
0x9FD => 0xA02,
0xA00 => 0x9FB,
0xA02 => 0x9FD,
_ => ItemID
};
}
public override void Serialize(GenericWriter writer)