TeamGalacticraft / Galacticraft-Legacy

An advanced Space Dimension Mod for Minecraft
MIT License
72 stars 33 forks source link

Unable to Access Overworld Space Station/Space Race after Username Change #39

Open lucky-luci-logica opened 2 years ago

lucky-luci-logica commented 2 years ago

Forge Version

14.23.5.2854

Galacticraft Version

4.0.2.280

Log or Crash Report

https://gist.github.com/lucky-luci-logica/6c000ff1b85c54164af0d9747e2a47ea

Reproduction steps

I've been operating a galacticraft-centred mod pack for myself and some friends, and we've become especially fond of our Overworld Space Station. However, when my Mojang account was migrated to a Microsoft account, my username was changed, and now when I connect to the server, the Space Station(which I had created when I had my old username) was no longer available on the dimension select screen. Similarly, none of us have access to our preestablished Space Race anymore. The other players are still able to go to the space station, and it seems like I am the only player affected(other than the fact that none of us can access the Space Race that I created anymore).

As far as I can tell, the Space Race and the Space Station access are the only issues caused by the name change, though due to my inaccess to our Space Station(where most of our machines are located), we haven't played on the server very extensively recently. I'm curious about whether or not the Air Lock controllers I've placed on the Space Station have my old username still and whether or not I'll be able to modify them, but I can't easily check without access.

The mods in the pack are listed in the image below, my computer is nice but not super intense and it manages to run the server and the client simultaneously with few issues. This is the only significant issue we've run into of late, and with some recent upgrades to my PC we're ready to explore further than ever before! Thank you for your time and I look forward to learning something new about operating the server! mods

ROMVoid95 commented 2 years ago

Will add this to the list of Enhancement/Updates to be made. Would be best to have the space station NBT data rely on the players UUID for linking and only reference the username instead.

ROMVoid95 commented 2 years ago

@lucky-luci-logica I'm currently working on implementing a new system that would prevent this and handle player username changes. Currently I'm trying to have this available in the next update, If it requires deeper changes/testing then it would be slated for the version after. Wanted to let you know that this is a feature that will be added.