#Deluxemenu shop bug

1 messages · Page 1 of 1 (latest)

chrome pilot
#

Hi there Im having an issue with a custom shop I made and would really appreciate some help!

Basically I have a custom coin, the menu checks if the player has 10 of these and gives them $1000. This works if the coins are in 1 stack, however if I have them split like one stack has 6 coins the other had 7, it will only take 6 coin and not the other 4 out of the 7 stack. (Hope that makes sense).

click_requirement:
  requirements:
    copperstar:
      type: has item
      material: paper
      model_data: 2100
      amount: 10
      deny_commands:
      - '[message] &6Iron-Bank Emissary &8> &7You do not have enough currency!'
click_commands:
- '[console] eco give %player_name% 1000'
- '[console] iaremove %player_name% nucdecor:copperstar 10'
- '[message] &6Shop &8> &fYou have added $1000 to your account for 10 Copper Star.'
- '[sound] block_amethyst_block_resonate'