@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/network/NetworkManager.java
|
||||
+++ b/net/minecraft/network/NetworkManager.java
|
||||
@@ -105,6 +105,7 @@
|
||||
@@ -114,6 +114,7 @@
|
||||
private volatile IChatBaseComponent delayedDisconnect;
|
||||
@Nullable
|
||||
BandwidthDebugMonitor bandwidthDebugMonitor;
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
public NetworkManager(EnumProtocolDirection enumprotocoldirection) {
|
||||
this.receiving = enumprotocoldirection;
|
||||
@@ -194,7 +195,7 @@
|
||||
@@ -197,7 +198,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 suspendInboundAfterProtocolChange() {
|
||||
@@ -421,7 +422,7 @@
|
||||
private void validateListener(ProtocolInfo<?> protocolinfo, PacketListener packetlistener) {
|
||||
@@ -457,7 +458,7 @@
|
||||
}
|
||||
|
||||
if (this.isConnected()) {
|
||||
@@ -26,3 +26,12 @@
|
||||
this.disconnectedReason = ichatbasecomponent;
|
||||
}
|
||||
|
||||
@@ -525,7 +526,7 @@
|
||||
}
|
||||
|
||||
public void configurePacketHandler(ChannelPipeline channelpipeline) {
|
||||
- channelpipeline.addLast("hackfix", new ChannelOutboundHandlerAdapter(this) {
|
||||
+ channelpipeline.addLast("hackfix", new ChannelOutboundHandlerAdapter() { // CraftBukkit - decompile error
|
||||
public void write(ChannelHandlerContext channelhandlercontext, Object object, ChannelPromise channelpromise) throws Exception {
|
||||
super.write(channelhandlercontext, object, channelpromise);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user