Hi,
I want to set a slot in a GUI to a specific number of items. But I get an error. How should I do it right?
I want to set a slot in a GUI to a specific number of items. But I get an error. How should I do it right?
Code:
set slot 1 of {_buy.gui} to 1 of {shoptype::{shop::%location of event-block%}::%{shoptemp.%uuid of player%}%} with lore "1 Item for %{shopprice::%{shop::%location of event-block%}%::%location of event-block%}%"
set slot 2 of {_buy.gui} to 8 of {shoptype::{shop::%location of event-block%}::%{shoptemp.%uuid of player%}%} with lore "8 Items for %{shopprice::%{shop::%location of event-block%}%::%location of event-block%} * 8%"
set slot 3 of {_buy.gui} to 32 of {shoptype::{shop::%location of event-block%}::%{shoptemp.%uuid of player%}%} with lore "32 Items for %{shopprice::%{shop::%location of event-block%}%::%location of event-block%} * 32%"
set slot 4 of {_buy.gui} to 64 of {shoptype::{shop::%location of event-block%}::%{shoptemp.%uuid of player%}%} with lore "128 Items for %{shopprice::%{shop::%location of event-block%}%::%location of event-block%} * 128%"
Last edited: