magemonkeystudio / genesis

MIT License
8 stars 8 forks source link

Unable to add condition to shopitem #72

Closed Mooshed88-a closed 1 month ago

Mooshed88-a commented 1 month ago

When I use the Condition configuration, the console prompts the following error: [Genesis] Unable to add condition 'below:1' to shopitem 'a40'! You need to define a conditiontype before you start listing conditions! [Shop: dhjy] This is my configuration:

    Condition: 
        - type:permission
        - dontmatch:jinbi.jingyan
        - type:uses
        - below:1

The format of this configuration is that I studied at https://www.spigotmc.org/wiki/bossshoppro-conditions/. It runs well on Bosshopro in 1.18.2. Regrettably, when I upgraded the server to Paper-1.20.4-497 and replaced Bossshoppro with Genesis, it failed to work and presented the above error. After testing, I found that it was always the second configuration item of Condition that presented an error -- no single configuration item would presented an error. How can I solve this problem?