Missing a check in nbtutil

This commit is contained in:
Justin Aquadro 2017-11-24 03:05:29 -05:00
parent e26a29580a
commit 15b1b2891f

View file

@ -18,7 +18,7 @@ namespace NBTUtil.Ops
{
if (!(dataNode is TagDataNode) || !dataNode.CanEditNode)
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 true;