diff --git a/Substrate/SubstrateCS/Source/EntityFactory.cs b/Substrate/SubstrateCS/Source/EntityFactory.cs index 3bfffa7..0ed3417 100644 --- a/Substrate/SubstrateCS/Source/EntityFactory.cs +++ b/Substrate/SubstrateCS/Source/EntityFactory.cs @@ -18,7 +18,7 @@ namespace Substrate return null; } - return Activator.CreateInstance(t, new object[] { type } ) as Entity; + return Activator.CreateInstance(t) as Entity; } public static Entity Create (TagCompound tree)