3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-26 16:12:42 +01:00

fix horse equipment packet id

Dieser Commit ist enthalten in:
Gerrygames 2019-04-10 17:43:42 +02:00
Ursprung afe767c6db
Commit 4c6ee807a7

Datei anzeigen

@ -66,7 +66,7 @@ public class MetadataRewriter {
armorItem = new Item(InventoryPackets.getNewItemId(729), (byte) 1, (short) 0, null); armorItem = new Item(InventoryPackets.getNewItemId(729), (byte) 1, (short) 0, null);
} }
PacketWrapper equipmentPacket = new PacketWrapper(0x42, null, connection); PacketWrapper equipmentPacket = new PacketWrapper(0x46, null, connection);
equipmentPacket.write(Type.VAR_INT, entityId); equipmentPacket.write(Type.VAR_INT, entityId);
equipmentPacket.write(Type.VAR_INT, 4); equipmentPacket.write(Type.VAR_INT, 4);
equipmentPacket.write(Type.FLAT_VAR_INT_ITEM, armorItem); equipmentPacket.write(Type.FLAT_VAR_INT_ITEM, armorItem);