mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-09 06:50:32 +08:00
23 lines
699 B
Diff
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);
|
|
- }
|
|
}
|