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

@ -5,8 +5,7 @@ namespace Server.Items
public class EnchantedSextant : Item
{
//TODO: Trammel/Haven
private static readonly Point2D[] m_TrammelBanks = new[]
{
private static readonly Point2D[] m_TrammelBanks = {
new Point2D( 652, 820 ),
new Point2D( 1813, 2825 ),
new Point2D( 3734, 2149 ),
@ -27,8 +26,7 @@ namespace Server.Items
new Point2D( 5669, 3131 )
};
private static readonly Point2D[] m_FeluccaBanks = new[]
{
private static readonly Point2D[] m_FeluccaBanks = {
new Point2D( 652, 820 ),
new Point2D( 1813, 2825 ),
new Point2D( 3734, 2149 ),
@ -49,16 +47,14 @@ namespace Server.Items
new Point2D( 5669, 3131 )
};
private static readonly Point2D[] m_IlshenarBanks = new[]
{
private static readonly Point2D[] m_IlshenarBanks = {
new Point2D( 854, 680 ),
new Point2D( 855, 603 ),
new Point2D( 1226, 554 ),
new Point2D( 1610, 556 )
};
private static readonly Point2D[] m_MalasBanks = new[]
{
private static readonly Point2D[] m_MalasBanks = {
new Point2D( 996, 519 ),
new Point2D( 2048, 1345 )
};

View file

@ -13,8 +13,7 @@ namespace Server.Engines.Quests
public abstract class QuestSystem
{
public static readonly Type[] QuestTypes = new[]
{
public static readonly Type[] QuestTypes = {
typeof( Doom.TheSummoningQuest ),
typeof( Necro.DarkTidesQuest ),
typeof( Haven.UzeraanTurmoilQuest ),