Merge upstream - Minecraft 1.13.1 Support

\o/
This commit is contained in:
Shane Freeder 2018-08-23 22:24:29 +01:00 committed by Jamie Mansfield
parent a5e6cc087b
commit 6125c28a94
No known key found for this signature in database
GPG Key ID: 27F6918C0D47DF94
2 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit 9ea82e95417ed034a57c218c68bf2ded57111aa7 Subproject commit 1bb826109c57c7cd804b27bd5ba134f9edbcddda

View File

@ -1,4 +1,4 @@
From a10c8ea62831bcd1ccf74d324add28807cf99dbf Mon Sep 17 00:00:00 2001 From 4376131d2acf771b016130d36a21103e9e9a31c9 Mon Sep 17 00:00:00 2001
From: Techcable <Techcable@techcable.net> From: Techcable <Techcable@techcable.net>
Date: Thu, 19 May 2016 17:09:22 -0600 Date: Thu, 19 May 2016 17:09:22 -0600
Subject: [PATCH] Allow invalid packet ids for forge servers Subject: [PATCH] Allow invalid packet ids for forge servers
@ -37,10 +37,10 @@ index ea44573d..5b32effe 100644
{ {
packet.read( in, prot.getDirection(), protocolVersion ); packet.read( in, prot.getDirection(), protocolVersion );
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
index 9509f8ee..60de276e 100644 index 06390751..93e81266 100644
--- a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java --- a/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/Protocol.java
@@ -391,14 +391,23 @@ public enum Protocol @@ -394,14 +394,23 @@ public enum Protocol
return protocol; return protocol;
} }
@ -105,10 +105,10 @@ index 99cd19a1..6146cb44 100644
@Getter @Getter
@NonNull @NonNull
diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java diff --git a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java
index c65a8481..4df06119 100644 index d1eebbf0..2843b94e 100644
--- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java --- a/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java
+++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java +++ b/proxy/src/main/java/net/md_5/bungee/entitymap/EntityMap.java
@@ -267,6 +267,12 @@ public abstract class EntityMap @@ -268,6 +268,12 @@ public abstract class EntityMap
int packetId = DefinedPacket.readVarInt( packet ); int packetId = DefinedPacket.readVarInt( packet );
int packetIdLength = packet.readerIndex() - readerIndex; int packetIdLength = packet.readerIndex() - readerIndex;