Unjail command doesn't work
rktfier opened this issue ยท 2 comments
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
- /jail 1
- /unjail
- it didn't work
- /unjail 1
- it didn't work
- /jail 1s
- extended jail time by 1 second?
- 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.
Forgot to add the output of /unjail :
Error: Cannot invoke "org.bukkit.Location.getWorld()" because "targetLoc" is null
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.