forked from mirrors/NBTExplorer
Fix item enchantments not resetting on tree load
This commit is contained in:
parent
4827bb6f51
commit
1bd952a9e1
2 changed files with 4 additions and 2 deletions
|
@ -30,8 +30,8 @@ using System.Runtime.InteropServices;
|
||||||
// Build Number
|
// Build Number
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
[assembly: AssemblyVersion("1.3.7.0")]
|
[assembly: AssemblyVersion("1.3.8.0")]
|
||||||
[assembly: AssemblyFileVersion("1.3.7.0")]
|
[assembly: AssemblyFileVersion("1.3.8.0")]
|
||||||
|
|
||||||
// This library is compatible with all CLS-compliant .NET programming languages.
|
// This library is compatible with all CLS-compliant .NET programming languages.
|
||||||
[assembly: CLSCompliant(true)]
|
[assembly: CLSCompliant(true)]
|
|
@ -146,6 +146,8 @@ namespace Substrate
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_enchantments.Clear();
|
||||||
|
|
||||||
_id = ctree["id"].ToTagShort();
|
_id = ctree["id"].ToTagShort();
|
||||||
_count = ctree["Count"].ToTagByte();
|
_count = ctree["Count"].ToTagByte();
|
||||||
_damage = ctree["Damage"].ToTagShort();
|
_damage = ctree["Damage"].ToTagShort();
|
||||||
|
|
Loading…
Reference in a new issue