Skip to content

Simple fix to save mount from being deleted by Drop Disconnect Lag Dupe fix#22

Open
cdstk wants to merge 1 commit intoMeldexun:masterfrom
cdstk:save-my-mount
Open

Simple fix to save mount from being deleted by Drop Disconnect Lag Dupe fix#22
cdstk wants to merge 1 commit intoMeldexun:masterfrom
cdstk:save-my-mount

Conversation

@cdstk
Copy link

@cdstk cdstk commented Feb 16, 2026

To fix #18
Vanilla Server behavior is player can logout on a mount and relog mounted on the entity. This fix prevents the mounted entity from being deleted by dismounting the player before vanilla saves and processes mounts, however it does not remount the player on login.

Vanilla behavior of PlayerList.playerLoggedOut() goes in this order:

  1. Writes Player Data
  2. Check and remove mounted entities from world.

Behavior with Fix Drop Disconnect Lag Dupe enabled is generally this:

  1. RLTweaker Queues Writes Player Data
  2. Vanilla Writes Player Data
  3. Vanilla checks and removes mounted entities from world
  4. RLTweaker Writes Player Data

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.

While riding mounts, leaving and rejoining server makes the mount disappear entirely in servers.

1 participant