Skip to content

Commit

Permalink
Missing a check in nbtutil
Browse files Browse the repository at this point in the history
  • Loading branch information
jaquadro committed Nov 24, 2017
1 parent e26a295 commit 15b1b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NBTUtil/Ops/EditOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public override bool CanProcess (DataNode dataNode)
{
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;
Expand Down

0 comments on commit 15b1b28

Please sign in to comment.