EssentialsX

EssentialsX

2M Downloads

TPAing to someone with tpauto on and command costs on charges twice

bingoose0 opened this issue ยท 2 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=38de42e7e07b4460bc278e246f783588

Error log (if applicable)

No response

Bug description

If command costs are enabled for TPA and someone teleports to someone else who has tpauto on, then they are charged twice.
The only solution I can think of right now is just to half the command cost until the bug is fixed.

Steps to reproduce

  1. Set a command cost for TPA (in my case $10)
  2. TPA to someone with tpauto on
  3. You should get charged twice

Expected behaviour

You should only get charged once.

Actual behaviour

You get charged twice.

2022-03-14.12-27-46.mp4

.

commented

This has now been fixed in the latest dev builds. Thanks for your report!

commented

I've opened a PR to fix this at #4862. This fix will be available in normal dev builds soon.