slotDisplay.style.background = itemstack.item && dragonblocks.getTexture(itemstack.toItem().texture);
if (! slotDisplay.style.backgroundColor || slotDisplay.style.backgroundColor == "initial")
slotDisplay.style.backgroundColor = "rgba(0, 0, 0, 0.3)";
slotDisplay.style.background = itemstack.item && dragonblocks.getTexture(itemstack.toItem().texture);
if (! slotDisplay.style.backgroundColor || slotDisplay.style.backgroundColor == "initial")
slotDisplay.style.backgroundColor = "rgba(0, 0, 0, 0.3)";