Removes implicit types

This commit is contained in:
Kamron Batman 2018-09-14 08:48:39 -07:00
parent 33f5e77a24
commit 04b4cfe75b
261 changed files with 1329 additions and 1329 deletions

View file

@ -5,7 +5,7 @@ namespace Server.Items
[FlippableAttribute( 0x236E, 0x2371 )]
public class LightOfTheWinterSolstice : Item
{
private static string[] m_StaffNames = new string[]
private static string[] m_StaffNames = new[]
{
"Aenima",
"Alkiser",

View file

@ -113,7 +113,7 @@ namespace Server.Items
{
from.SendMessage( "You may not throw snow here." );
}
else if ( pack != null && pack.FindItemByType( new Type[]{ typeof( SnowPile ), typeof( PileOfGlacialSnow ) } ) != null )
else if ( pack != null && pack.FindItemByType( new[]{ typeof( SnowPile ), typeof( PileOfGlacialSnow ) } ) != null )
{
if ( from.BeginAction( typeof( SnowPile ) ) )
{

View file

@ -99,7 +99,7 @@ namespace Server.Items
{
from.SendMessage( "You may not throw snow here." );
}
else if ( pack?.FindItemByType( new Type[]{ typeof( SnowPile ), typeof( PileOfGlacialSnow ) } ) != null )
else if ( pack?.FindItemByType( new[]{ typeof( SnowPile ), typeof( PileOfGlacialSnow ) } ) != null )
{
if ( from.BeginAction( typeof( SnowPile ) ) )
{