From 2fb4a9125218d8609d19d4ee792071116b7f7d04 Mon Sep 17 00:00:00 2001 From: CarbonNeuron Date: Fri, 1 May 2020 11:47:00 -0500 Subject: [PATCH] Fix the PacketID on 1.13.2 --- MinecraftClient/Protocol/Handlers/Protocol18PacketTypes.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18PacketTypes.cs b/MinecraftClient/Protocol/Handlers/Protocol18PacketTypes.cs index 3bdb2f56..feac66ab 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18PacketTypes.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18PacketTypes.cs @@ -394,7 +394,7 @@ namespace MinecraftClient.Protocol.Handlers case PacketOutgoingType.InteractEntity: return 0x0D; case PacketOutgoingType.ClickWindow: return 0x08; case PacketOutgoingType.CloseWindow: return 0x09; - case PacketOutgoingType.EntityAction: return 0x0B; + case PacketOutgoingType.EntityAction: return 0x19; } } else // MC 1.14 to 1.15 @@ -417,7 +417,7 @@ namespace MinecraftClient.Protocol.Handlers case PacketOutgoingType.PlayerBlockPlacement: return 0x2C; case PacketOutgoingType.ClickWindow: return 0x09; case PacketOutgoingType.CloseWindow: return 0x0A; - case PacketOutgoingType.EntityAction: return 0x0B; + case PacketOutgoingType.EntityAction: return 0x19; } }