From 7335c8ea98a1209b5ee773b31ca5bbf40af3c7ac Mon Sep 17 00:00:00 2001 From: Matsv Date: Sun, 15 Jul 2018 13:56:42 +0200 Subject: [PATCH] Fix commandblock minecart --- .../protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java index f7070ffcb..6731df531 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocolsnapshotto1_12_2/ProtocolSnapshotTo1_12_2.java @@ -675,6 +675,7 @@ public class ProtocolSnapshotTo1_12_2 extends Protocol { @Override public void write(PacketWrapper wrapper) throws Exception { wrapper.write(Type.STRING, "MC|AdvCmd"); + wrapper.write(Type.BYTE, (byte) 1); // Type 1 for Entity } }); map(Type.VAR_INT, Type.INT); // Entity Id