public void CraftButtonPressed() { if (currentItem) { currentItem.Craft(); } }
public void CraftbuttonPressed() { currentItem.Craft(); ClearInventorySlot(); MakeInventorySlot(); if (currentItem.numberHeld == 0 && !currentItem.craftable) { SetButton(false); } }