Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -6,8 +6,8 @@ namespace Server.Items
{
public class IcyPatch : Item
{
public override int LabelNumber { get { return 1095159; } } //An Icy Patch
public override double DefaultWeight { get { return 5.0; } }
public override int LabelNumber => 1095159; //An Icy Patch
public override double DefaultWeight => 5.0;
/* On OSI, the iceypatch with itemid 0x122a is "rarer", so we will give it 1:10 chance of creating it that way */
@ -122,4 +122,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}