Skip to content

Fix EssentialsX home conversion for active and new players - #399

Merged
John-Paul-R merged 1 commit into
John-Paul-R:26.xfrom
ImTau:fix/essentialsx-home-conversion
Aug 29, 2026
Merged

Fix EssentialsX home conversion for active and new players#399
John-Paul-R merged 1 commit into
John-Paul-R:26.xfrom
ImTau:fix/essentialsx-home-conversion

Conversation

@ImTau

@ImTau ImTau commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes EssentialsX home conversion in two cases:

Written with GPT 5.6 so use with caution.

  1. When a player is currently online, imported homes are merged into the active PlayerData instance. This prevents the converted homes from being overwritten when the player's active data is later saved.

  2. When no existing Essential Commands player data exists, the newly created PlayerData is populated with the imported homes.

This addresses the conversion behavior described in #357.

Testing

Tested on Fabric 26.2 / Essential Commands 0.41.0.

The fix was previously tested in the patched JAR, including persistence of converted homes and conversion for players without existing Essential Commands player data.

The project builds successfully with Gradle.

Fixes #357

@John-Paul-R

Copy link
Copy Markdown
Owner

Nice fix, thanks!

@John-Paul-R
John-Paul-R merged commit fb86fb7 into John-Paul-R:26.x Aug 29, 2026
1 check passed
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.

EssentialsX imported homes overwritten on leave

2 participants