PaperMC/nms-patches/PacketHandshakingInSetProtocol.patch
2015-05-25 20:37:24 +10:00

22 lines
667 B
Diff

--- a/net/minecraft/server/PacketHandshakingInSetProtocol.java
+++ b/net/minecraft/server/PacketHandshakingInSetProtocol.java
@@ -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);
- }
}