Parkour

Parkour

570k Downloads

Players cannot access the course after leaving server & reconnecting ("ParkourSession is invalid")

ThatGuyJacobee opened this issue ยท 1 comments

commented

I have this bug where if a person disconnects from the server whilst in a parkour course, and then reconnects and tries to access the same parkour course again, it errors out in console and tells them that "Your ParkourSession is invalid" in chat. In the config.yml I have set "OnLeave.DestroyCourseProgress" to true and this works fine if they leave using the item in their toolbar. But if they disconnect from the server whilst they are doing the course, it prevents them from accessing the course again due to the error, unless I manually delete the folder with their UUID within the "sessions" folder. Furthermore, my "OnLeaveServer.LeaveCourse" is also set to true, and this works fine as it spawns the person back to the lobby when they rejoin. The only issue being that they cannot access that parkour course again due to that error. I'm on the latest build (v7.2.0).

Edit: I've also tried resetting the players and course, but it still happens from fresh.

Any help would be fantastic ๐Ÿ˜„

Here is a log of the console error that I receive:
https://pastebin.com/LFQASpX5

And my config.yml file:
config.yml.txt