public void updateCraftingInventorySlot(Container container, int i, ItemStack itemstack) { if (container.getSlot(i) instanceof SlotCrafting) { return; } if (isChangingQuantityOnly) { return; } else { playerNetServerHandler.sendPacket(new Packet103SetSlot(container.windowId, i, itemstack)); return; } }