EssentialsX

EssentialsX

2M Downloads

Broken TPA Command 1.21.3

0x7d8 opened this issue ยท 2 comments

commented

Type of bug

Compatibility issue

/ess dump all output

https://essentialsx.net/dump.html?id=76a50bbb4368474fa2ae8d7c7b927485

Error log (if applicable)

No response

Bug description

When running /tpa <player>, an error is shown
grafik

Steps to reproduce

  1. Run /tpa <player> on 1.21.3
  2. Error

Expected behaviour

The request should be sent

Actual behaviour

Error message Index -1 out of bounds for length 0 (no additional console logs)

Additional Information

No response

commented

As pointed out above, please set tpa-max-requests to a value above 0

commented

This is caused because tpa-max-requests on your configuration file is set to 0. It should be 1 or higher. This is the line throwing the exception:

teleportRequestQueue.remove(keys.get(keys.size() - 1));