[SPIGOT-7507] Player's last location is shifted to main world of multi-world server on upgrade from 1.13 to 1.20.2 Created: 21/Oct/23 Updated: 25/Dec/24 Resolved: 21/Oct/23 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Matt Gajownik | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Spigot server with a variety of plugins, notably Multiverse-Core, Multiverse-Inventories. |
||
| Attachments: |
|
| Version: | CraftBukkit version 3917-Spigot-dba3cdc-b590041 (MC: 1.20.2) |
| Guidelines Read: | Yes |
| Description |
|
After upgrading from CraftBukkit version git-Spigot-1a3504a-84f3da3 (MC: 1.13.2), players spawn in the default world rather than the last world they were in, while maintaining their previous coordinates. The updated world is set as `minecraft:overworld` rather than either real world name.
Prior to logging in, Multiverse-Inventories and the playerdata file confirm their prior world was not the main world.
The attached files are as follows: 1.13.2-WizardCM.dat - playerdata from before the upgrade (note the `SpawnWorld` and `DataVersion`) 1.20.2-WizardCM-initial.dat - playerdata from directly after the upgrade (note `SpawnWorld` is now gone, and `SpawnDimension` and `Dimension` appear instead) 1.20.2-WizardCM-corrected.dat - playerdata from manually teleporting to the correct world |
| Comments |
| Comment by Matt Gajownik [ 21/Oct/23 ] |
|
Confirmed, restored my old user file and loading in loaded into the correct world. Much appreciated! |
| Comment by md_5 [ 21/Oct/23 ] |
|
Added a fallback which should hopefully fix the issue |
| Comment by md_5 [ 21/Oct/23 ] |
|
It's actually WorldUUIDMost / WorldUUIDLeast (SpawnWorld is for beds etc) but rest of issue seems correct |