Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -158,8 +158,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
private static TilesAndEffect[] m_Table = new[]
|
||||
{
|
||||
private static TilesAndEffect[] m_Table = {
|
||||
new TilesAndEffect( new[]
|
||||
{
|
||||
0x71, 0x7C,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 ) ),
|
||||
|
|
|
|||
|
|
@ -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 ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue