forked from mirrors/NBTExplorer
Entity factory bugfix
This commit is contained in:
parent
37d58fcf91
commit
f1cc8f13f1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue