forked from mirrors/NBTExplorer
Missing a check in nbtutil
This commit is contained in:
parent
e26a29580a
commit
15b1b2891f
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace NBTUtil.Ops
|
||||||
{
|
{
|
||||||
if (!(dataNode is TagDataNode) || !dataNode.CanEditNode)
|
if (!(dataNode is TagDataNode) || !dataNode.CanEditNode)
|
||||||
return false;
|
return false;
|
||||||
if (dataNode is TagByteArrayDataNode || dataNode is TagIntArrayDataNode || dataNode is TagShortArrayDataNode)
|
if (dataNode is TagByteArrayDataNode || dataNode is TagIntArrayDataNode || dataNode is TagShortArrayDataNode || dataNode is TagLongArrayDataNode)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue