mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-12-27 11:07:39 +01:00
Updated Upstream (Waterfall)
Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Waterfall Changes:
fea7ec3
Updated Upstream (BungeeCord)
This commit is contained in:
parent
9279d02f84
commit
a621643612
@ -1 +1 @@
|
|||||||
Subproject commit eb03f0627de7b37b4d9b6f7f796ccb5e8d4fdd0a
|
Subproject commit fea7ec356dba6c6ac28819ff11be604af6eb484e
|
@ -1,4 +1,4 @@
|
|||||||
From ac5a18e97dbbc5cb69352de75f38895c60433503 Mon Sep 17 00:00:00 2001
|
From 011203cba62c5509e045a31445b71ba1e580b8d6 Mon Sep 17 00:00:00 2001
|
||||||
From: Troy Frew <fuzzy_bot@arenaga.me>
|
From: Troy Frew <fuzzy_bot@arenaga.me>
|
||||||
Date: Tue, 15 Nov 2016 08:56:43 -0500
|
Date: Tue, 15 Nov 2016 08:56:43 -0500
|
||||||
Subject: [PATCH] POM Changes
|
Subject: [PATCH] POM Changes
|
||||||
@ -452,7 +452,7 @@ index db15febbc..a2efb5e52 100644
|
|||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
diff --git a/pom.xml b/pom.xml
|
diff --git a/pom.xml b/pom.xml
|
||||||
index 56bb4a7aa..b3ee7b0cd 100644
|
index 02480a208..f61cdf375 100644
|
||||||
--- a/pom.xml
|
--- a/pom.xml
|
||||||
+++ b/pom.xml
|
+++ b/pom.xml
|
||||||
@@ -5,19 +5,19 @@
|
@@ -5,19 +5,19 @@
|
||||||
@ -480,7 +480,7 @@ index 56bb4a7aa..b3ee7b0cd 100644
|
|||||||
<inceptionYear>2015</inceptionYear>
|
<inceptionYear>2015</inceptionYear>
|
||||||
<organization>
|
<organization>
|
||||||
<name>WaterfallMC</name>
|
<name>WaterfallMC</name>
|
||||||
@@ -65,13 +65,13 @@
|
@@ -66,13 +66,13 @@
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
@ -535,7 +535,7 @@ index 402266ca1..993cbca95 100644
|
|||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
diff --git a/proxy/pom.xml b/proxy/pom.xml
|
diff --git a/proxy/pom.xml b/proxy/pom.xml
|
||||||
index ca1fc13b9..d67d1a5d3 100644
|
index 602b9a93f..e2ce69e43 100644
|
||||||
--- a/proxy/pom.xml
|
--- a/proxy/pom.xml
|
||||||
+++ b/proxy/pom.xml
|
+++ b/proxy/pom.xml
|
||||||
@@ -5,17 +5,17 @@
|
@@ -5,17 +5,17 @@
|
||||||
@ -646,5 +646,5 @@ index 8ce88f4a4..813696e45 100644
|
|||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
--
|
--
|
||||||
2.31.0
|
2.31.1
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From a0cb842ba495bb4bcbfe26563d873642d5a065b5 Mon Sep 17 00:00:00 2001
|
From ef7431f941bfb199bc715598d33928cfa6acd98c Mon Sep 17 00:00:00 2001
|
||||||
From: Techcable <Techcable@techcable.net>
|
From: Techcable <Techcable@techcable.net>
|
||||||
Date: Mon, 6 Jun 2016 13:47:46 -0600
|
Date: Mon, 6 Jun 2016 13:47:46 -0600
|
||||||
Subject: [PATCH] Rename references from Waterfall to Travertine
|
Subject: [PATCH] Rename references from Waterfall to Travertine
|
||||||
@ -31,7 +31,7 @@ index d703d6d24..d8dcdc1e3 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
||||||
index 2938f2f15..f7f1e7ccd 100644
|
index c09f5b4c3..97de4271c 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
||||||
@@ -188,7 +188,7 @@ public class BungeeCord extends ProxyServer
|
@@ -188,7 +188,7 @@ public class BungeeCord extends ProxyServer
|
||||||
@ -43,7 +43,7 @@ index 2938f2f15..f7f1e7ccd 100644
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -538,7 +538,7 @@ public class BungeeCord extends ProxyServer
|
@@ -539,7 +539,7 @@ public class BungeeCord extends ProxyServer
|
||||||
@Override
|
@Override
|
||||||
public String getName()
|
public String getName()
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From 6f9d46148349b909fe4a49f5d65ca6d9f287e6cf Mon Sep 17 00:00:00 2001
|
From 149ae54e143d770bc04b5cc1c358210abf77160f Mon Sep 17 00:00:00 2001
|
||||||
From: Troy Frew <fuzzy_bot@arenaga.me>
|
From: Troy Frew <fuzzy_bot@arenaga.me>
|
||||||
Date: Tue, 15 Nov 2016 10:31:04 -0500
|
Date: Tue, 15 Nov 2016 10:31:04 -0500
|
||||||
Subject: [PATCH] 1.7.x Protocol Patch
|
Subject: [PATCH] 1.7.x Protocol Patch
|
||||||
@ -154,10 +154,10 @@ index d4b038434..9aac7ca9f 100644
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
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 0dffc8d23..ff671706d 100644
|
index d2a11a826..2cc0f825b 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
|
||||||
@@ -55,7 +55,7 @@ public enum Protocol
|
@@ -58,7 +58,7 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
Handshake.class,
|
Handshake.class,
|
||||||
Handshake::new, // Waterfall - speed up packet construction
|
Handshake::new, // Waterfall - speed up packet construction
|
||||||
@ -166,7 +166,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -67,7 +67,7 @@ public enum Protocol
|
@@ -70,7 +70,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
KeepAlive.class,
|
KeepAlive.class,
|
||||||
KeepAlive::new, // Waterfall - speed up packet construction
|
KeepAlive::new, // Waterfall - speed up packet construction
|
||||||
@ -175,7 +175,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x1F ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x1F ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x21 ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x21 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_14, 0x20 ),
|
map( ProtocolConstants.MINECRAFT_1_14, 0x20 ),
|
||||||
@@ -78,7 +78,7 @@ public enum Protocol
|
@@ -82,7 +82,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Login.class,
|
Login.class,
|
||||||
Login::new, // Waterfall - speed up packet construction
|
Login::new, // Waterfall - speed up packet construction
|
||||||
@ -184,7 +184,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x23 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x23 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x25 ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x25 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_15, 0x26 ),
|
map( ProtocolConstants.MINECRAFT_1_15, 0x26 ),
|
||||||
@@ -88,7 +88,7 @@ public enum Protocol
|
@@ -93,7 +93,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Chat.class,
|
Chat.class,
|
||||||
Chat::new, // Waterfall - speed up packet construction
|
Chat::new, // Waterfall - speed up packet construction
|
||||||
@ -193,7 +193,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x0F ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x0F ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x0E ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x0E ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_15, 0x0F ),
|
map( ProtocolConstants.MINECRAFT_1_15, 0x0F ),
|
||||||
@@ -97,7 +97,7 @@ public enum Protocol
|
@@ -103,7 +103,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Respawn.class,
|
Respawn.class,
|
||||||
Respawn::new, // Waterfall - speed up packet construction
|
Respawn::new, // Waterfall - speed up packet construction
|
||||||
@ -202,7 +202,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x33 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x33 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x34 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x34 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x35 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x35 ),
|
||||||
@@ -118,20 +118,19 @@ public enum Protocol
|
@@ -126,20 +126,19 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
EntityEffect.class,
|
EntityEffect.class,
|
||||||
EntityEffect::new, // Waterfall - speed up packet construction
|
EntityEffect::new, // Waterfall - speed up packet construction
|
||||||
@ -226,7 +226,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x2D ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x2D ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x2E ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x2E ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x30 ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x30 ),
|
||||||
@@ -143,7 +142,7 @@ public enum Protocol
|
@@ -152,7 +151,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
TabCompleteResponse.class,
|
TabCompleteResponse.class,
|
||||||
TabCompleteResponse::new, // Waterfall - speed up packet construction
|
TabCompleteResponse::new, // Waterfall - speed up packet construction
|
||||||
@ -235,7 +235,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x0E ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x0E ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x10 ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x10 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_15, 0x11 ),
|
map( ProtocolConstants.MINECRAFT_1_15, 0x11 ),
|
||||||
@@ -153,7 +152,7 @@ public enum Protocol
|
@@ -163,7 +162,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
ScoreboardObjective.class,
|
ScoreboardObjective.class,
|
||||||
ScoreboardObjective::new, // Waterfall - speed up packet construction
|
ScoreboardObjective::new, // Waterfall - speed up packet construction
|
||||||
@ -244,7 +244,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x3F ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x3F ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x41 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x41 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x42 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x42 ),
|
||||||
@@ -164,7 +163,7 @@ public enum Protocol
|
@@ -175,7 +174,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
ScoreboardScore.class,
|
ScoreboardScore.class,
|
||||||
ScoreboardScore::new, // Waterfall - speed up packet construction
|
ScoreboardScore::new, // Waterfall - speed up packet construction
|
||||||
@ -253,7 +253,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x42 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x42 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x44 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x44 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x45 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x45 ),
|
||||||
@@ -175,7 +174,7 @@ public enum Protocol
|
@@ -187,7 +186,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
ScoreboardDisplay.class,
|
ScoreboardDisplay.class,
|
||||||
ScoreboardDisplay::new, // Waterfall - speed up packet construction
|
ScoreboardDisplay::new, // Waterfall - speed up packet construction
|
||||||
@ -262,7 +262,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x38 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x38 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x3A ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x3A ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x3B ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x3B ),
|
||||||
@@ -186,7 +185,7 @@ public enum Protocol
|
@@ -199,7 +198,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Team.class,
|
Team.class,
|
||||||
Team::new, // Waterfall - speed up packet construction
|
Team::new, // Waterfall - speed up packet construction
|
||||||
@ -271,7 +271,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x41 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x41 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x43 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x43 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x44 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x44 ),
|
||||||
@@ -197,7 +196,7 @@ public enum Protocol
|
@@ -211,7 +210,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
PluginMessage.class,
|
PluginMessage.class,
|
||||||
PluginMessage::new, // Waterfall - speed up packet construction
|
PluginMessage::new, // Waterfall - speed up packet construction
|
||||||
@ -280,7 +280,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x18 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x18 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x19 ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x19 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_14, 0x18 ),
|
map( ProtocolConstants.MINECRAFT_1_14, 0x18 ),
|
||||||
@@ -208,7 +207,7 @@ public enum Protocol
|
@@ -223,7 +222,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Kick.class,
|
Kick.class,
|
||||||
Kick::new, // Waterfall - speed up packet construction
|
Kick::new, // Waterfall - speed up packet construction
|
||||||
@ -289,7 +289,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x1A ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x1A ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x1B ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x1B ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_14, 0x1A ),
|
map( ProtocolConstants.MINECRAFT_1_14, 0x1A ),
|
||||||
@@ -219,7 +218,7 @@ public enum Protocol
|
@@ -235,7 +234,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Title.class,
|
Title.class,
|
||||||
Title::new, // Waterfall - speed up packet construction
|
Title::new, // Waterfall - speed up packet construction
|
||||||
@ -298,7 +298,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x47 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x47 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x48 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x48 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x4B ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x4B ),
|
||||||
@@ -230,7 +229,7 @@ public enum Protocol
|
@@ -257,7 +256,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
PlayerListHeaderFooter.class,
|
PlayerListHeaderFooter.class,
|
||||||
PlayerListHeaderFooter::new, // Waterfall - speed up packet construction
|
PlayerListHeaderFooter::new, // Waterfall - speed up packet construction
|
||||||
@ -307,7 +307,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x48 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x48 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_9_4, 0x47 ),
|
map( ProtocolConstants.MINECRAFT_1_9_4, 0x47 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x49 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x49 ),
|
||||||
@@ -243,7 +242,7 @@ public enum Protocol
|
@@ -271,7 +270,7 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
EntityStatus.class,
|
EntityStatus.class,
|
||||||
EntityStatus::new, // Waterfall - speed up packet construction
|
EntityStatus::new, // Waterfall - speed up packet construction
|
||||||
@ -316,7 +316,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x1B ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x1B ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_13, 0x1C ),
|
map( ProtocolConstants.MINECRAFT_1_13, 0x1C ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_14, 0x1B ),
|
map( ProtocolConstants.MINECRAFT_1_14, 0x1B ),
|
||||||
@@ -277,7 +276,7 @@ public enum Protocol
|
@@ -309,7 +308,7 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
KeepAlive.class,
|
KeepAlive.class,
|
||||||
KeepAlive::new, // Waterfall - speed up packet construction
|
KeepAlive::new, // Waterfall - speed up packet construction
|
||||||
@ -325,7 +325,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x0B ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x0B ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x0C ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x0C ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x0B ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x0B ),
|
||||||
@@ -288,7 +287,7 @@ public enum Protocol
|
@@ -321,7 +320,7 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
Chat.class,
|
Chat.class,
|
||||||
Chat::new, // Waterfall - speed up packet construction
|
Chat::new, // Waterfall - speed up packet construction
|
||||||
@ -334,7 +334,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x02 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x02 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x03 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x03 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x02 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x02 ),
|
||||||
@@ -297,7 +296,7 @@ public enum Protocol
|
@@ -330,7 +329,7 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
TabCompleteRequest.class,
|
TabCompleteRequest.class,
|
||||||
TabCompleteRequest::new, // Waterfall - speed up packet construction
|
TabCompleteRequest::new, // Waterfall - speed up packet construction
|
||||||
@ -343,7 +343,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x01 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x01 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x02 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x02 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x01 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x01 ),
|
||||||
@@ -307,7 +306,7 @@ public enum Protocol
|
@@ -340,7 +339,7 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
ClientSettings.class,
|
ClientSettings.class,
|
||||||
ClientSettings::new, // Waterfall - speed up packet construction
|
ClientSettings::new, // Waterfall - speed up packet construction
|
||||||
@ -352,7 +352,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x04 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x04 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x05 ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x05 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x04 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x04 ),
|
||||||
@@ -316,7 +315,7 @@ public enum Protocol
|
@@ -349,7 +348,7 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
PluginMessage.class,
|
PluginMessage.class,
|
||||||
PluginMessage::new, // Waterfall - speed up packet construction
|
PluginMessage::new, // Waterfall - speed up packet construction
|
||||||
@ -361,7 +361,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x09 ),
|
map( ProtocolConstants.MINECRAFT_1_9, 0x09 ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12, 0x0A ),
|
map( ProtocolConstants.MINECRAFT_1_12, 0x0A ),
|
||||||
map( ProtocolConstants.MINECRAFT_1_12_1, 0x09 ),
|
map( ProtocolConstants.MINECRAFT_1_12_1, 0x09 ),
|
||||||
@@ -333,23 +332,23 @@ public enum Protocol
|
@@ -367,23 +366,23 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
StatusResponse.class,
|
StatusResponse.class,
|
||||||
StatusResponse::new, // Waterfall - speed up packet construction
|
StatusResponse::new, // Waterfall - speed up packet construction
|
||||||
@ -389,7 +389,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -361,22 +360,22 @@ public enum Protocol
|
@@ -395,22 +394,22 @@ public enum Protocol
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
Kick.class,
|
Kick.class,
|
||||||
Kick::new, // Waterfall - speed up packet construction
|
Kick::new, // Waterfall - speed up packet construction
|
||||||
@ -416,7 +416,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
);
|
);
|
||||||
TO_CLIENT.registerPacket(
|
TO_CLIENT.registerPacket(
|
||||||
LoginPayloadRequest.class,
|
LoginPayloadRequest.class,
|
||||||
@@ -387,12 +386,12 @@ public enum Protocol
|
@@ -421,12 +420,12 @@ public enum Protocol
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
LoginRequest.class,
|
LoginRequest.class,
|
||||||
LoginRequest::new, // Waterfall - speed up packet construction
|
LoginRequest::new, // Waterfall - speed up packet construction
|
||||||
@ -431,7 +431,7 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
);
|
);
|
||||||
TO_SERVER.registerPacket(
|
TO_SERVER.registerPacket(
|
||||||
LoginPayloadResponse.class,
|
LoginPayloadResponse.class,
|
||||||
@@ -512,7 +511,11 @@ public enum Protocol
|
@@ -546,7 +545,11 @@ public enum Protocol
|
||||||
}
|
}
|
||||||
if ( !hasPacket(id, supportsForge) )
|
if ( !hasPacket(id, supportsForge) )
|
||||||
{
|
{
|
||||||
@ -445,35 +445,35 @@ index 0dffc8d23..ff671706d 100644
|
|||||||
|
|
||||||
java.util.function.Supplier<? extends DefinedPacket> constructor = protocolData.packetConstructors[id]; // Waterfall - speed up packet construction
|
java.util.function.Supplier<? extends DefinedPacket> constructor = protocolData.packetConstructors[id]; // Waterfall - speed up packet construction
|
||||||
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
|
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
|
||||||
index 2202c4d3d..6600185b5 100644
|
index 391443ca9..6cc77635b 100644
|
||||||
--- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
|
--- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
|
||||||
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
|
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java
|
||||||
@@ -6,6 +6,8 @@ import java.util.List;
|
@@ -7,6 +7,8 @@ public class ProtocolConstants
|
||||||
public class ProtocolConstants
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
private static final boolean SNAPSHOT_SUPPORT = Boolean.getBoolean( "net.md_5.bungee.protocol.snapshot" );
|
||||||
+ public static final int MINECRAFT_1_7_2 = 4;
|
+ public static final int MINECRAFT_1_7_2 = 4;
|
||||||
+ public static final int MINECRAFT_1_7_6 = 5;
|
+ public static final int MINECRAFT_1_7_6 = 5;
|
||||||
public static final int MINECRAFT_1_8 = 47;
|
public static final int MINECRAFT_1_8 = 47;
|
||||||
public static final int MINECRAFT_1_9 = 107;
|
public static final int MINECRAFT_1_9 = 107;
|
||||||
public static final int MINECRAFT_1_9_1 = 108;
|
public static final int MINECRAFT_1_9_1 = 108;
|
||||||
@@ -34,6 +36,7 @@ public class ProtocolConstants
|
@@ -41,6 +43,7 @@ public class ProtocolConstants
|
||||||
public static final int MINECRAFT_1_16_3 = 753;
|
static
|
||||||
public static final int MINECRAFT_1_16_4 = 754;
|
{
|
||||||
public static final List<String> SUPPORTED_VERSIONS = Arrays.asList(
|
ImmutableList.Builder<String> supportedVersions = ImmutableList.<String>builder().add(
|
||||||
+ "1.7.x",
|
+ "1.7.x",
|
||||||
"1.8.x",
|
"1.8.x",
|
||||||
"1.9.x",
|
"1.9.x",
|
||||||
"1.10.x",
|
"1.10.x",
|
||||||
@@ -45,6 +48,8 @@ public class ProtocolConstants
|
@@ -52,6 +55,8 @@ public class ProtocolConstants
|
||||||
"1.16.x"
|
"1.16.x"
|
||||||
);
|
);
|
||||||
public static final List<Integer> SUPPORTED_VERSION_IDS = Arrays.asList(
|
ImmutableList.Builder<Integer> supportedVersionIds = ImmutableList.<Integer>builder().add(
|
||||||
+ ProtocolConstants.MINECRAFT_1_7_2,
|
+ ProtocolConstants.MINECRAFT_1_7_2,
|
||||||
+ ProtocolConstants.MINECRAFT_1_7_6,
|
+ ProtocolConstants.MINECRAFT_1_7_6,
|
||||||
ProtocolConstants.MINECRAFT_1_8,
|
ProtocolConstants.MINECRAFT_1_8,
|
||||||
ProtocolConstants.MINECRAFT_1_9,
|
ProtocolConstants.MINECRAFT_1_9,
|
||||||
ProtocolConstants.MINECRAFT_1_9_1,
|
ProtocolConstants.MINECRAFT_1_9_1,
|
||||||
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java b/protocol/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java
|
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java b/protocol/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java
|
||||||
index c0d371426..a07e25b1f 100644
|
index c0d371426..a07e25b1f 100644
|
||||||
--- a/protocol/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java
|
--- a/protocol/src/main/java/net/md_5/bungee/protocol/Varint21FrameDecoder.java
|
||||||
@ -558,7 +558,7 @@ index 828a5dbe6..195ec0886 100644
|
|||||||
public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
|
public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
|
||||||
{
|
{
|
||||||
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java
|
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java
|
||||||
index 9daf7a737..b7640fcbf 100644
|
index 886cb9168..e453d36c9 100644
|
||||||
--- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java
|
--- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java
|
||||||
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java
|
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientSettings.java
|
||||||
@@ -1,5 +1,7 @@
|
@@ -1,5 +1,7 @@
|
||||||
@ -578,9 +578,9 @@ index 9daf7a737..b7640fcbf 100644
|
|||||||
{
|
{
|
||||||
|
|
||||||
private String locale;
|
private String locale;
|
||||||
@@ -24,6 +26,19 @@ public class ClientSettings extends DefinedPacket
|
@@ -25,6 +27,19 @@ public class ClientSettings extends DefinedPacket
|
||||||
private byte skinParts;
|
|
||||||
private int mainHand;
|
private int mainHand;
|
||||||
|
private boolean disableTextFiltering;
|
||||||
|
|
||||||
+ // Travertine start
|
+ // Travertine start
|
||||||
+ @Override
|
+ @Override
|
||||||
@ -598,7 +598,7 @@ index 9daf7a737..b7640fcbf 100644
|
|||||||
@Override
|
@Override
|
||||||
public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
|
public void read(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
|
||||||
{
|
{
|
||||||
@@ -58,6 +73,19 @@ public class ClientSettings extends DefinedPacket
|
@@ -67,6 +82,19 @@ public class ClientSettings extends DefinedPacket
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1284,7 +1284,7 @@ index a5555f6af..415a4bcde 100644
|
|||||||
public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
|
public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion)
|
||||||
{
|
{
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
||||||
index f7f1e7ccd..a17ed68ec 100644
|
index 97de4271c..3b0dff080 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
|
||||||
@@ -170,6 +170,14 @@ public class BungeeCord extends ProxyServer
|
@@ -170,6 +170,14 @@ public class BungeeCord extends ProxyServer
|
||||||
@ -1303,18 +1303,10 @@ index f7f1e7ccd..a17ed68ec 100644
|
|||||||
private ConnectionThrottle connectionThrottle;
|
private ConnectionThrottle connectionThrottle;
|
||||||
private final ModuleManager moduleManager = new ModuleManager();
|
private final ModuleManager moduleManager = new ModuleManager();
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java b/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java b/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java
|
||||||
index 494213db8..1d89acf5b 100644
|
index 1d377a655..6c7d4abb4 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java
|
--- a/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeTitle.java
|
||||||
@@ -5,6 +5,7 @@ import net.md_5.bungee.api.chat.BaseComponent;
|
@@ -183,6 +183,7 @@ public class BungeeTitle implements Title
|
||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
|
||||||
import net.md_5.bungee.chat.ComponentSerializer;
|
|
||||||
import net.md_5.bungee.protocol.DefinedPacket;
|
|
||||||
+import net.md_5.bungee.protocol.ProtocolConstants;
|
|
||||||
import net.md_5.bungee.protocol.packet.Title.Action;
|
|
||||||
|
|
||||||
public class BungeeTitle implements Title
|
|
||||||
@@ -151,6 +152,7 @@ public class BungeeTitle implements Title
|
|
||||||
@Override
|
@Override
|
||||||
public Title send(ProxiedPlayer player)
|
public Title send(ProxiedPlayer player)
|
||||||
{
|
{
|
||||||
@ -1637,7 +1629,7 @@ index 4d7b1b23e..ad3bdee56 100644
|
|||||||
con.getServer().disconnect( "Quitting" );
|
con.getServer().disconnect( "Quitting" );
|
||||||
}
|
}
|
||||||
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 db5210d16..cd0bc5a9b 100644
|
index 13456b341..44066317a 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
|
||||||
@@ -35,6 +35,10 @@ public abstract class EntityMap
|
@@ -35,6 +35,10 @@ public abstract class EntityMap
|
||||||
|
Loading…
Reference in New Issue
Block a user