Enigmatica 6 - E6 - 1.16.5

Enigmatica 6 - E6 - 1.16.5

1M Downloads

TPA request sent during TPA cooldown still count as Request already sent!

killergames1 opened this issue ยท 0 comments

commented

Modpack version
Enigmatica 6 0.5.9

Describe the bug
When the TPA command is configured to have a cooldown, TPA request sent during the cooldown still count as active request and you have to wait for the TPA request to expire before you can TPA to them again.

Steps to reproduce:

  1. Configure the TPA command to have a cooldown. (We have it at 10 seconds)
  2. Send TPA request to PlayerA.
  3. Send another TPA request to PlayerA inside of the set cooldown period. You should see "Can't teleport yet! Cooldown: X seconds" and PlayerA won't get a TPA prompt.
  4. After the remaining cooldown time has passed. Send another TPA request. You should see "Request already sent!"
  5. Wait until "TPA request expired!" shows up then you should be able to send a new TPA request.