-
-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't change teleportposition für /p visit #4386
Comments
After visiting his server freely (we know each other a little bit) and he showed me where the issue happens, we found out that a plot with an alias does not take the new /p sethome position from the database, but /p v does (the same plot). So something is going on with the alias. We need to dive into the code to find out. Also need to find out how to reproduce it, as there is some order you might need (alias, sethome some tries, not your plot to visit maybe) |
Also as a second thought, there might be something broken on your sqlite database. We should consider testing with sqlite too. |
After some tries I found out that your alias home (future) is not on the plot where you get teleported to. It is more on the edge of the plot. You can archive this by a plot unlink. The player plot home is still kept updated but the alias home can't because it is not on the plot. The second picture is the /p v one This is the /p v one, which shows a seperate home.So this is kind of weird that this alias can exist outside of the plot. Best try is to remove the alias and set it on the plot again @Leahcimkrob |
Ok, I also tried something else. |
We need to go deeper of how you can get incorrect alias locations that can lead to this and similar issues |
Server Implementation
Paper
Server Version
1.20.4
Describe the bug
If you use /p sethome to move the teleport point of the plot, why does a player still teleport to the edge of the plot with /p visit?
It works for the plot owner with /p home.
To Reproduce
If you use /p sethome to move the teleport point of the plot, why does a player still teleport to the edge of the plot with /p visit?
It works for the plot owner with /p home.
Expected behaviour
If I change the teleport position with /p sethome it should apply to /p home and /p visit
Screenshots / Videos
No response
Error log (if applicable)
No error
Plot Debugpaste
https://athion.net/ISPaster/paste/view/0e6b836815c946c593577e907dece7f2
PlotSquared Version
Plotsquared 7.3.6 Premium
Checklist
Anything else?
No response
The text was updated successfully, but these errors were encountered: