From a46720a1eebc45fe9b8850fc16153d806dd533c2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 22 Feb 2013 20:11:30 +1100 Subject: [PATCH] Fix Spoutcraft support. @Zidane @Dockter, please be aware that you were misinformed / incorrect in your statements and Netty in Spigot has nothing to do with the issues experienced by users with Spoutcraft. --- protocol/src/main/java/net/md_5/mendax/PacketDefinitions.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocol/src/main/java/net/md_5/mendax/PacketDefinitions.java b/protocol/src/main/java/net/md_5/mendax/PacketDefinitions.java index 2730585d..4fdd1be6 100644 --- a/protocol/src/main/java/net/md_5/mendax/PacketDefinitions.java +++ b/protocol/src/main/java/net/md_5/mendax/PacketDefinitions.java @@ -270,6 +270,10 @@ public class PacketDefinitions { INT, SHORT, INT, BYTE, SHORT_BYTE }; + opCodes[0xC3] = new OpCode[] + { + SHORT, SHORT, INT_BYTE + }; opCodes[0xC8] = new OpCode[] { INT, BYTE