}
public List<ItemStack> getValidItems() {
List<ItemStack> buffer = new ArrayList<>();
items.stream().filter(itemStack -> ItemStackHelper.NBT.getAmount(itemStack) < 0).forEach(buffer::add);
return buffer;
<BUG>}
}

</BUG>

}
for (ItemStack itemStackInternal : container) {
if (merge(itemStackInternal, itemStack, type.getFunc()))
return;
}
