Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

@ -158,8 +158,7 @@ namespace Server.Items
}
}
private static TilesAndEffect[] m_Table = new[]
{
private static TilesAndEffect[] m_Table = {
new TilesAndEffect( new[]
{
0x71, 0x7C,

View file

@ -145,8 +145,7 @@ namespace Server.Engines.Plants
return contains;
}
private static int[] m_DirtPatchTiles = new[]
{
private static int[] m_DirtPatchTiles = {
0x9, 0x15,
0x71, 0x7C,
0x82, 0xA7,

View file

@ -5,8 +5,7 @@ namespace Server.Engines.Plants
{
public class PlantResourceInfo
{
private static PlantResourceInfo[] m_ResourceList = new[]
{
private static PlantResourceInfo[] m_ResourceList = {
new PlantResourceInfo( PlantType.ElephantEarPlant, PlantHue.BrightRed, typeof( RedLeaves ) ),
new PlantResourceInfo( PlantType.PonytailPalm, PlantHue.BrightRed, typeof( RedLeaves ) ),
new PlantResourceInfo( PlantType.CenturyPlant, PlantHue.BrightRed, typeof( RedLeaves ) ),

View file

@ -61,8 +61,7 @@ namespace Server.Engines.Plants
public class PlantTypeInfo
{
private static PlantTypeInfo[] m_Table = new[]
{
private static PlantTypeInfo[] m_Table = {
new PlantTypeInfo( 0xC83, 0, 0, PlantType.CampionFlowers, false, true, true, true, PlantCategory.Default ),
new PlantTypeInfo( 0xC86, 0, 0, PlantType.Poppies, false, true, true, true, PlantCategory.Default ),
new PlantTypeInfo( 0xC88, 0, 10, PlantType.Snowdrops, false, true, true, true, PlantCategory.Default ),