3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-03 14:50:30 +01:00

Merge pull request #1250 from Gerrygames/1.14

fix horse equipment packet id
Dieser Commit ist enthalten in:
Myles 2019-04-10 16:45:16 +01:00 committet von GitHub
Commit 658822166a
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -66,7 +66,7 @@ public class MetadataRewriter {
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, 4);
equipmentPacket.write(Type.FLAT_VAR_INT_ITEM, armorItem);