EssentialsX

EssentialsX

2M Downloads

Extending a users jail sentence will display the time remaining as 51 years in /whois and /seen

baailey opened this issue ยท 0 comments

commented

Information

Full output of /ess version:

24.01 12:52:05 [Server] INFO Server version: 1.16.4-R0.1-SNAPSHOT git-Tuinity-"4743c34" (MC: 1.16.4)
24.01 12:52:05 [Server] INFO EssentialsX version: 2.19.0-dev+57-89c1e3b
24.01 12:52:05 [Server] INFO LuckPerms version: 5.2.86
24.01 12:52:05 [Server] INFO Vault version: 1.7.3-b131
24.01 12:52:05 [Server] INFO EssentialsXSpawn version: 2.19.0-dev+57-89c1e3b

Server startup log:

https://gist.github.com/baailey/670e4e3248859ddf925024b80979abf7

EssentialsX config:

https://gist.github.com/baailey/1a257a689ec03a5e3008bc8b72cf9f27

Details

Description:

When extending a users jail sentence from 10 seconds to 20 seconds, for example, it will instead display the remaining timer as 51 years when you try view the time remaining via /whois or /seen
Steps to reproduce:

  1. Jail a user for x amount of time
  2. Do the same command to extend their jail sentence
    Expected behavior:

The timer should display 20 seconds, not 51 years
Console stack trace:

N/A

Screenshots: