Hello there!
I am trying to use placeholder as an check value
placeholder - %servervariables_globalvalue_gres-quest-1-1%
gres-quest-1-1: #hay_block(-1)
variable_type: GLOBAL
value_type: INTEGER
initial_value: 16
papi parse me check: this placeholder gives 16
code:
click_requirement:
requirements:
check_item:
type: has item
material: HAY_BLOCK
placeholder: "%servervariables_globalvalue_gres-quest-1-1%"
code with amount(works fine):
click_requirement:
requirements:
check_item:
type: has item
material: HAY_BLOCK
amount: 16
So the problem here is when I have any amount of HAY_BLOCK the click_commands run anyway. for example: [22:03:39 INFO]: Removed 9 item(s) from player redr1ghthand