From f1cc8f13f186cb9161d5578ed7d362073e62272e Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sun, 10 Apr 2011 21:08:56 +0000 Subject: [PATCH] Entity factory bugfix --- Substrate/SubstrateCS/Source/EntityFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)