Fixes lots more spelling errors (#5)

* Renames constructable to constructible
* Fixes project references.
* Fixes BaseEquippableLight file name
* Replaces payed with paid.
* Fixes various other spelling errors
This commit is contained in:
Kamron Batman 2018-02-20 16:01:41 -08:00 committed by GitHub
parent ca4e99c179
commit 20ae1b3989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2195 changed files with 4617 additions and 4617 deletions

View file

@ -180,16 +180,16 @@ namespace Server.Commands
private static Type typeofItem = typeof( Item );
private static Type typeofMobile = typeof( Mobile );
private static Type typeofConstructable = typeof( ConstructableAttribute );
private static Type typeofConstructible = typeof( ConstructibleAttribute );
private static bool IsConstructable( Type type )
private static bool IsConstructible( Type type )
{
if ( !type.IsSubclassOf( typeofItem ) && !type.IsSubclassOf( typeofMobile ) )
return false;
ConstructorInfo ctor = type.GetConstructor( Type.EmptyTypes );
return ( ctor != null && ctor.IsDefined( typeofConstructable, false ) );
return ( ctor != null && ctor.IsDefined( typeofConstructible, false ) );
}
private static void AddTypes( Assembly asm, ArrayList types )
@ -203,7 +203,7 @@ namespace Server.Commands
if ( type.IsAbstract )
continue;
if ( IsConstructable( type ) )
if ( IsConstructible( type ) )
types.Add( type );
}
}