I'm still programming BedWars and I'm currently stuck at the shop.
The shop also works, only if you look e.g. Blocks buy, the shop recognizes the Dronze only on the 1st slot of the quick access bar. Otherwise he says that the item does not exist.
Does anyone know the solution that the item can be deducted from all slots?
Here is the code for the sandstone:
Unfortunately I do not know how it was the Synthax. But you can go through each slot with a for loop and ask if there's bronze in the slot.