mojira.dev
MC-79225

Map update packets ignored by client

There are some unresolved and/or abandoned bugs for this issue. I was doing a bit of programming using map packets, and eventually found out that the client ignores map update packets once the dimension has been changed.

The easiest way to reproduce (singleplayer or multiplayer):

  • Create a map for your current area

  • Create a nether portal

  • Go in the nether portal and then return back

  • Notice your map no longer updates

Any update packets sent that corresponds with the damage value that corresponds with the map created at the start of the above process is ignored after dimensions are changed.

Logging out and logging back in (or quitting to title on singleplayer) fixes the issue, but is a poor temporary fix.

Also, it's worth noting that every single map ID that the player has handled packets for will no longer update, not just the single packet in the current area.

Notes:

  • You do not need to bring any maps with you into the nether to trigger this bug.

  • When the dimension is changed, the map's canvas is cleared on the client's side to all zero pixel values (impossible without modding the server).

  • Once the map is updated with any packet that corresponds to its ID, the client displays the last data from when it originally worked (before dimension change), and will not change, and will not show any data from any new incoming packets.

Would appreciate some response to this issue as it's making any manipulation with maps that goes beyond static images finicky at best.

EDIT: Duplicate of MC-46345, this still hasn't been fixed?

Related issues

Comments

migrated

Indeed a dupe of MC-46345

kumasasa

Added your description to MC-46345

migrated

Thanks, hopefully this can get fixed eventually. For now, I'm going to work around the issue by manually sending entity update packets to players with new damage values after they switch worlds.

migrated

(Unassigned)

Unconfirmed

Minecraft 1.8.3

Retrieved