Update to Minecraft 1.20.2
By: md_5 <git@md-5.net>
This commit is contained in:
parent
193398c0ff
commit
8a3c8cfcd4
238 changed files with 2448 additions and 2344 deletions
|
@ -1,14 +1,14 @@
|
|||
--- a/net/minecraft/network/NetworkManager.java
|
||||
+++ b/net/minecraft/network/NetworkManager.java
|
||||
@@ -88,6 +88,7 @@
|
||||
private boolean handlingFault;
|
||||
@Nullable
|
||||
@@ -105,6 +105,7 @@
|
||||
private volatile IChatBaseComponent delayedDisconnect;
|
||||
@Nullable
|
||||
BandwidthDebugMonitor bandwidthDebugMonitor;
|
||||
+ public String hostname = ""; // CraftBukkit - add field
|
||||
|
||||
public NetworkManager(EnumProtocolDirection enumprotocoldirection) {
|
||||
this.receiving = enumprotocoldirection;
|
||||
@@ -173,7 +174,7 @@
|
||||
@@ -194,7 +195,7 @@
|
||||
}
|
||||
|
||||
private static <T extends PacketListener> void genericsFtw(Packet<T> packet, PacketListener packetlistener) {
|
||||
|
@ -16,8 +16,8 @@
|
|||
+ packet.handle((T) packetlistener); // CraftBukkit - decompile error
|
||||
}
|
||||
|
||||
public void setListener(PacketListener packetlistener) {
|
||||
@@ -306,7 +307,7 @@
|
||||
public void suspendInboundAfterProtocolChange() {
|
||||
@@ -421,7 +422,7 @@
|
||||
}
|
||||
|
||||
if (this.isConnected()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue