Skip to content

Fix players getting sent to the plotyard after logging in while seated in a non-overworld dimension - #1694

Open
jamesgreen26 wants to merge 1 commit into
ryanhcode:mainfrom
jamesgreen26:fix-login-dimension
Open

jamesgreen26 wants to merge 1 commit into
ryanhcode:mainfrom
jamesgreen26:fix-login-dimension

Conversation

@jamesgreen26

Copy link
Copy Markdown

Fixes #919

Bug description and cause:
During login (in PlayerList.placeNewPlayer()), player.load is called before player.setServerLevel, so when Sable sets the player position from SubLevelTrackingPointSavedData, this.level is the overworld instead of the correct dimension.

Fix:
The fix is to use the level of the correct dimension, which is found from the player's save tag.

@CLAassistant

CLAassistant commented Nov 30, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relogging while sitting in a seat on a sublevel in another dimension sends you to the plotyard

2 participants