EssentialsX

EssentialsX

2M Downloads

Command Costs & Command Cooldown Bug

catches opened this issue ยท 0 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=493f13390021478dba6528f657f129fb

Error log (if applicable)

No response

Bug description

I don't know if this is a bug or intended behavior, but basically, I have command costs and cooldown set. If I don't have enough funds to buy the command, it instead activates the cooldown. What I want is if I don't have funds, it doesn't actually activate the command cooldown, instead, when I have funds, I use the command, then it activates the cooldown.

Steps to reproduce

  1. Set command cost and cooldown
  2. Use command without funds

Expected behaviour

Command cooldown activates after the player has purchased and used the command.

Actual behaviour

Command cooldown activates when player types in the command.