mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 15:12:13 -07:00
Update to Minecraft 1.9
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
--- a/net/minecraft/server/NetworkManager.java
|
||||
+++ b/net/minecraft/server/NetworkManager.java
|
||||
@@ -231,7 +231,7 @@
|
||||
@@ -113,7 +113,7 @@
|
||||
protected void a(ChannelHandlerContext channelhandlercontext, Packet<?> packet) throws Exception {
|
||||
if (this.channel.isOpen()) {
|
||||
try {
|
||||
- packet.a(this.m);
|
||||
+ ((Packet) packet).a(this.m); // CraftBukkit - decompile error
|
||||
} catch (CancelledPacketHandleException cancelledpackethandleexception) {
|
||||
;
|
||||
}
|
||||
@@ -232,7 +232,7 @@
|
||||
|
||||
public void close(IChatBaseComponent ichatbasecomponent) {
|
||||
if (this.channel.isOpen()) {
|
||||
@@ -9,7 +18,7 @@
|
||||
this.n = ichatbasecomponent;
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@
|
||||
@@ -309,7 +309,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user