Entity factory bugfix

This commit is contained in:
Justin Aquadro 2011-04-10 21:08:56 +00:00
parent 37d58fcf91
commit f1cc8f13f1

View file

@ -18,7 +18,7 @@ namespace Substrate
return null; return null;
} }
return Activator.CreateInstance(t, new object[] { type } ) as Entity; return Activator.CreateInstance(t) as Entity;
} }
public static Entity Create (TagCompound tree) public static Entity Create (TagCompound tree)