Open Aurbey opened 5 days ago
Up
Thanks for the detailed report & for bringing this to my attention.
On inspection of the wiki, it seems an undocumented change to the Map format was made in the 1.20.6 update cycle. This will require an investigation. https://minecraft.wiki/w/Map#History
Description: After updating my Minecraft servers to version 1.21.1, I've encountered an issue with HuskSync where locked maps do not sync properly between servers. Prior to the update, everything worked flawlessly, but now maps lose pixels after traveling between servers.
Steps to Reproduce:
Expected Behavior: The locked map should appear identical across servers without any visual issues.
Actual Behavior: The map loses pixels or shows visual corruption after syncing between servers, as if some pixel data is not being transferred correctly. Attached are screenshots comparing the same map before and after synchronization:
Screenshot 1: Normal map after creation.
Screenshot 2: The same map after traveling between servers.
Server Details:
No errors in the logs. Redis and MySQL are configured and working fine
Additional Information: I have tried replicating the issue on a fresh server setup, and the problem persists. This issue did not occur on version 1.20.x, and no other plugin changes have been made. Could this be related to how map data is serialized or synced after the update?
Potential Cause/Idea: The issue seems to be related to how HuskSync handles the new map format or locked map data in 1.21.1. Perhaps some data fields are missing or incorrectly handled during the synchronization process.(Assumption.)