PaperMC/paper-server/nms-patches/PacketHandshakingInSetProtocol.patch
CraftBukkit/Spigot 7ffb160a28 Add PAIL comments to a few things.
By: md_5 <git@md-5.net>
2015-05-31 16:20:53 +10:00

22 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);
- }
}