From 2e4544fc5a070d823ad5c6053d77fb129de857dc Mon Sep 17 00:00:00 2001 From: ORelio Date: Sun, 29 Nov 2015 20:19:43 +0100 Subject: [PATCH] Fix location sendback (Item pickup!) Location is now properly sent back to the server Item are now properly being picked up (Need to enable movements in INI file) --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index ddb8771b..3b087710 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -988,7 +988,7 @@ namespace MinecraftClient.Protocol.Handlers try { SendPacket(0x04, concatBytes( - getDouble(location.X), getDouble(location.X), getDouble(location.X), + getDouble(location.X), getDouble(location.Y), getDouble(location.Z), new byte[] { onGround ? (byte)1 : (byte)0 })); return true; }