Fix maps in 1.19.50

Fixes #3427
This commit is contained in:
Camotoy 2022-11-30 12:09:21 -05:00
parent c6e417a6af
commit 8c70ac48d5
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -51,6 +51,8 @@ public class JavaMapItemDataTranslator extends PacketTranslator<ClientboundMapIt
mapItemDataPacket.setLocked(packet.isLocked());
mapItemDataPacket.setOrigin(Vector3i.ZERO); // Required since 1.19.20
mapItemDataPacket.setScale(packet.getScale());
// Required as of 1.19.50
mapItemDataPacket.getTrackedEntityIds().add(packet.getMapId());
MapData data = packet.getData();
if (data != null) {