Skip to content

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

@aindrigo

Description

@aindrigo

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

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: confirmedConfirmed bugs in EssentialsX.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions