Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -8,15 +8,15 @@ namespace Server.Items
* to do with piers. The three items here are basically
* permutations of the same "drop", or item that
* will be randomly selected when the item drops.
*
*
* It was either this, or make 2
* new classes named to reflect that they are rocks
* in water, or put them all in one class. Either
* is kind of senseless, so it is what it is.
*
*
*/
private static int[] m_itemids =
private static readonly int[] m_itemids =
{
0x3486, 0x348b, 0x3ae
};

View file

@ -2,7 +2,7 @@ namespace Server.Items
{
public class Web : Item
{
private static int[] m_itemids =
private static readonly int[] m_itemids =
{
0x10d7, 0x10d8, 0x10dd
};