magemonkeystudio / genesis

MIT License
8 stars 8 forks source link

Condition placeholdernumber compare to another placeholder #64

Open leogianfagna opened 4 months ago

leogianfagna commented 4 months ago

I can do this and works fine:

Condition:
    - type:placeholdermatch
    - '%mycommand_playerdata_safra_10007%:match:%localtime_time_D%'

But this doesn't work with the placeholdernumber type. So I can't do this:

Condition:
    - type:placeholdernumber # Changed here
    - '%mycommand_playerdata_safra_10007%:over:%localtime_time_D%' # and here

The placeholdernumber can only be compared to static numbers, like this:

Condition:
    - type:placeholdernumber
    - '%mycommand_playerdata_safra_10007%:over:50'

Would be nice that we can use placeholdernumber compared with two placeholders !