Looking at the code - is this supposed to be itemstack or itemstack1? The NMS makes it hard to tell.