summaryrefslogtreecommitdiffstats
path: root/nms-patches/PacketHandshakingInSetProtocol.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/PacketHandshakingInSetProtocol.patch')
-rw-r--r--nms-patches/PacketHandshakingInSetProtocol.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/nms-patches/PacketHandshakingInSetProtocol.patch b/nms-patches/PacketHandshakingInSetProtocol.patch
new file mode 100644
index 00000000..1734c47a
--- /dev/null
+++ b/nms-patches/PacketHandshakingInSetProtocol.patch
@@ -0,0 +1,22 @@
+--- /home/matt/mc-dev-private//net/minecraft/server/PacketHandshakingInSetProtocol.java 2015-02-26 22:40:22.903608136 +0000
++++ src/main/java/net/minecraft/server/PacketHandshakingInSetProtocol.java 2015-02-26 22:40:22.903608136 +0000
+@@ -5,8 +5,8 @@
+ public class PacketHandshakingInSetProtocol implements Packet<PacketHandshakingInListener> {
+
+ private int a;
+- private String b;
+- private int c;
++ public String b; // CraftBukkit - public
++ public int c; // CraftBukkit - public
+ private EnumProtocol d;
+
+ public PacketHandshakingInSetProtocol() {}
+@@ -36,8 +36,4 @@
+ public int b() {
+ return this.a;
+ }
+-
+- public void a(PacketListener packetlistener) {
+- this.a((PacketHandshakingInListener) packetlistener);
+- }
+ }