EssentialsX

EssentialsX

2M Downloads

Unjail command doesn't work

rktfier opened this issue ยท 2 comments

commented

Type of bug

Error in console, Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=29b6504835214a5ea800ad845fa145dc

Error log (if applicable)

https://www.toptal.com/developers/hastebin/pamuriqazu.yaml

Bug description

Users are unable to be unjailed unless the jail time is extended by 1 second, which then the plugin proceeds to throw errors as specified in the error log.

It also doesn't tp users back when jailtime is over.

Steps to reproduce

  1. /jail 1
  2. /unjail
  3. it didn't work
  4. /unjail 1
  5. it didn't work
  6. /jail 1s
  7. extended jail time by 1 second?
  8. it did work, didn't teleport user back to location which it should have, throwed error on the log

Expected behaviour

User teleports back to location and continues playing.

Actual behaviour

User is stuck at jail, admin has to extend 1s jailtime so user can use /home or /spawn commands.

#4802 is related to this.

commented

Forgot to add the output of /unjail :

Error: Cannot invoke "org.bukkit.Location.getWorld()" because "targetLoc" is null

commented

Closing as a duplicate of #4802. The comments I left on that issue also apply to this one. Please also make sure you leave clear reproduction steps, as the commands you listed are not valid.