public void updateInterface() { ItemStack is = null; this.inventory.clear(); for (Integer card : this.recipe) { is = new ItemStack(Material.PAPER); Duelist.createOwnedCardInfo(is, Card.fromId(card).copy()); this.inventory.addItem(is); } is = new ItemStack(Material.PAPER); Main.setItemName(is, "Confirm"); Main.giveLore(is, 1); Main.setItemData(is, 0, "Initiate Fusion"); this.inventory.setItem(8, is); }