EssentialsX

EssentialsX

2M Downloads

Teleport delay often shows incorrect value in chat.

partydev opened this issue ยท 6 comments

commented

Information

Full output of /ess version:

[23:42:45 INFO]: Server version: 1.15.2-R0.1-SNAPSHOT git-Tuinity-"d8b8905" (MC: 1.15.2)
[23:42:45 INFO]: EssentialsX version: 2.17.2.0
[23:42:45 INFO]: PlaceholderAPI version: 2.10.5
[23:42:45 INFO]: LuckPerms version: 5.1.29
[23:42:45 INFO]: Vault version: 1.7.2-b107
[23:42:45 INFO]: Citizens version: 2.0.26-SNAPSHOT (build 1854)
[23:42:45 INFO]: EssentialsXSpawn version: 2.17.2.0

Server log: Not something that shows in console/logs.
EssentialsX config: https://gist.github.com/bartyrealms/8ea68cd040bb86121b45a63bba77d353

Details

Description

I have our teleport delay set to 5 seconds. Often in chat the teleport delay message says "You will be teleported in 4 seconds" instead of 5 seconds. This is probably because it calculates the time when sent in the message instead of when the command was issued.
Steps to reproduce

Set a teleport delay, try to teleport a few times. I believe this has been an Essentials bug for a long time.
Expected behavior

Display the correct teleport delay value in message.

commented

I'll try to get screenshot evidence of this happening tomorrow, but I think this is a known bug as per this conversation:

image

commented

Will fix once #3102 is merged

commented

This will be fixed when #3292 is merged.

commented

Didn't even see that 0_o

commented

Yeah I fixed this as per the conversation barty screenshotted

commented

The fix for this has now been merged - you can download the latest version from the EssentialsX website.