forked from mirrors/NBTExplorer
Fixing bug in parsing item enchantments
This commit is contained in:
parent
ce3a3537d0
commit
31b739aa59
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ namespace Substrate
|
|||
if (ctree.ContainsKey("tag")) {
|
||||
TagNodeCompound tagtree = ctree["tag"].ToTagCompound();
|
||||
if (tagtree.ContainsKey("ench")) {
|
||||
TagNodeList enchList = ctree["ench"].ToTagList();
|
||||
TagNodeList enchList = tagtree["ench"].ToTagList();
|
||||
|
||||
foreach (TagNode tag in enchList) {
|
||||
_enchantments.Add(new Enchantment().LoadTree(tag));
|
||||
|
|
Loading…
Reference in a new issue