forked from mirrors/NBTExplorer
Fixed TagNodeString being given a null value
This commit is contained in:
parent
1bd952a9e1
commit
9efe5092ac
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ namespace Substrate.Nbt
|
||||||
public TagNodeString (string d)
|
public TagNodeString (string d)
|
||||||
{
|
{
|
||||||
_data = d;
|
_data = d;
|
||||||
|
if (_data == null)
|
||||||
|
_data = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in a new issue