Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -34,8 +34,7 @@ namespace Server.Misc
|
|||
set => m_LockdownLevel = value;
|
||||
}
|
||||
|
||||
private static CityInfo[] StartingCities = new[]
|
||||
{
|
||||
private static CityInfo[] StartingCities = {
|
||||
new CityInfo( "New Haven", "New Haven Bank", 1150168, 3667, 2625, 0 ),
|
||||
new CityInfo( "Yew", "The Empath Abbey", 1075072, 633, 858, 0 ),
|
||||
new CityInfo( "Minoc", "The Barnacle", 1075073, 2476, 413, 15 ),
|
||||
|
|
@ -250,8 +249,7 @@ namespace Server.Misc
|
|||
}
|
||||
}
|
||||
|
||||
private static readonly char[] m_ForbiddenChars = new[]
|
||||
{
|
||||
private static readonly char[] m_ForbiddenChars = {
|
||||
'<', '>', ':', '"', '/', '\\', '|', '?', '*'
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ namespace Server.Misc
|
|||
|
||||
public static int MaxAddresses = 10;
|
||||
|
||||
public static IPAddress[] Exemptions = new IPAddress[] //For hosting services where there are cases where IPs can be proxied
|
||||
{
|
||||
public static IPAddress[] Exemptions = {
|
||||
//IPAddress.Parse( "127.0.0.1" ),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue