Paper/nms-patches/PacketHandshakingInSetProtocol.patch
2015-05-31 16:38:10 +10:00

23 lines
699 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 // PAIL: hostname
+ public int c; // CraftBukkit - public // PAIL: port
private EnumProtocol d;
public PacketHandshakingInSetProtocol() {}
@@ -36,8 +36,4 @@
public int b() {
return this.a;
}
-
- public void a(PacketListener packetlistener) {
- this.a((PacketHandshakingInListener) packetlistener);
- }
}