mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-11-28 13:15:31 +01:00
Updated Upstream (BungeeCord)
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 BungeeCord Changes: 7d68335c Fix switching to servers with larger view distance
This commit is contained in:
parent
8974fb3b97
commit
86ec79b6a5
@ -1 +1 @@
|
|||||||
Subproject commit 9bce83704ade428c64b19302c470e2f4b356f204
|
Subproject commit 7d68335c1d2efb682e6bded81b0856ef4b931380
|
@ -1,4 +1,4 @@
|
|||||||
From 911d768f6c07714cbc4bed0d12b5df5bc8e0fdbb Mon Sep 17 00:00:00 2001
|
From 9b21a2d835735b3dcafbdb4d89c8b0e66cd03cfd Mon Sep 17 00:00:00 2001
|
||||||
From: Techcable <Techcable@techcable.net>
|
From: Techcable <Techcable@techcable.net>
|
||||||
Date: Tue, 3 May 2016 20:31:52 -0700
|
Date: Tue, 3 May 2016 20:31:52 -0700
|
||||||
Subject: [PATCH] Don't access a ByteBuf's underlying array
|
Subject: [PATCH] Don't access a ByteBuf's underlying array
|
||||||
@ -43,10 +43,10 @@ index c01cf317..17e12655 100644
|
|||||||
* Allow this packet to be sent as an "extended" packet.
|
* Allow this packet to be sent as an "extended" packet.
|
||||||
*/
|
*/
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
index fb2d9e27..d1ae05b3 100644
|
index 552af4fc..91b8b41a 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
@@ -216,7 +216,7 @@ public class ServerConnector extends PacketHandler
|
@@ -217,7 +217,7 @@ public class ServerConnector extends PacketHandler
|
||||||
|
|
||||||
ByteBuf brand = ByteBufAllocator.DEFAULT.heapBuffer();
|
ByteBuf brand = ByteBufAllocator.DEFAULT.heapBuffer();
|
||||||
DefinedPacket.writeString( bungee.getName() + " (" + bungee.getVersion() + ")", brand );
|
DefinedPacket.writeString( bungee.getName() + " (" + bungee.getVersion() + ")", brand );
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From 63e0068231d004959aa61af1ffe9bcc00dc176d0 Mon Sep 17 00:00:00 2001
|
From a1c00179eedc983afb5ba68f6a28f15e1aad64dc Mon Sep 17 00:00:00 2001
|
||||||
From: Daniel Naylor <git@drnaylor.co.uk>
|
From: Daniel Naylor <git@drnaylor.co.uk>
|
||||||
Date: Tue, 25 Oct 2016 12:23:07 -0400
|
Date: Tue, 25 Oct 2016 12:23:07 -0400
|
||||||
Subject: [PATCH] Add support for FML with IP Forwarding enabled
|
Subject: [PATCH] Add support for FML with IP Forwarding enabled
|
||||||
@ -12,7 +12,7 @@ However, there is now at least one Forge coremod that intends to support IP forw
|
|||||||
No breaking changes occur due to this patch.
|
No breaking changes occur due to this patch.
|
||||||
|
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
index 00a1988b..3e950918 100644
|
index 91b8b41a..ac54ff74 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
@@ -4,6 +4,7 @@ import com.google.common.base.Preconditions;
|
@@ -4,6 +4,7 @@ import com.google.common.base.Preconditions;
|
||||||
@ -23,7 +23,7 @@ index 00a1988b..3e950918 100644
|
|||||||
import java.util.Queue;
|
import java.util.Queue;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
@@ -100,15 +101,39 @@ public class ServerConnector extends PacketHandler
|
@@ -101,15 +102,39 @@ public class ServerConnector extends PacketHandler
|
||||||
String newHost = copiedHandshake.getHost() + "\00" + user.getAddress().getHostString() + "\00" + user.getUUID();
|
String newHost = copiedHandshake.getHost() + "\00" + user.getAddress().getHostString() + "\00" + user.getUUID();
|
||||||
|
|
||||||
LoginResult profile = user.getPendingConnection().getLoginProfile();
|
LoginResult profile = user.getPendingConnection().getLoginProfile();
|
||||||
@ -67,7 +67,7 @@ index 00a1988b..3e950918 100644
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
||||||
index 3d4208a8..c2cb40b9 100644
|
index fda93018..e5a63541 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
--- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
||||||
@@ -164,8 +164,12 @@ public final class UserConnection implements ProxiedPlayer
|
@@ -164,8 +164,12 @@ public final class UserConnection implements ProxiedPlayer
|
||||||
@ -100,5 +100,5 @@ index 6dca2048..f5253b89 100644
|
|||||||
* The FML 1.8 handshake token.
|
* The FML 1.8 handshake token.
|
||||||
*/
|
*/
|
||||||
--
|
--
|
||||||
2.20.1
|
2.21.0
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From ed9181ca751223f7db60e8f9c7e8a9bd7145b27e Mon Sep 17 00:00:00 2001
|
From 08b3cce88edff9daac07631ea584980dfc97462e 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 564c8800..3c817c1e 100644
|
index 0e6cac95..d599eef3 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
|
||||||
@@ -387,14 +387,23 @@ public enum Protocol
|
@@ -392,14 +392,23 @@ public enum Protocol
|
||||||
return protocol;
|
return protocol;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ index 564c8800..3c817c1e 100644
|
|||||||
throw new BadPacketException( "Packet with id " + id + " outside of range " );
|
throw new BadPacketException( "Packet with id " + id + " outside of range " );
|
||||||
}
|
}
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
index 6c31db0c..88462b34 100644
|
index ac54ff74..e32a06c2 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
@@ -31,7 +31,9 @@ import net.md_5.bungee.forge.ForgeUtils;
|
@@ -31,7 +31,9 @@ import net.md_5.bungee.forge.ForgeUtils;
|
||||||
@ -79,7 +79,7 @@ index 6c31db0c..88462b34 100644
|
|||||||
import net.md_5.bungee.protocol.PacketWrapper;
|
import net.md_5.bungee.protocol.PacketWrapper;
|
||||||
import net.md_5.bungee.protocol.Protocol;
|
import net.md_5.bungee.protocol.Protocol;
|
||||||
import net.md_5.bungee.protocol.ProtocolConstants;
|
import net.md_5.bungee.protocol.ProtocolConstants;
|
||||||
@@ -200,6 +202,12 @@ public class ServerConnector extends PacketHandler
|
@@ -201,6 +203,12 @@ public class ServerConnector extends PacketHandler
|
||||||
|
|
||||||
ServerConnection server = new ServerConnection( ch, target );
|
ServerConnection server = new ServerConnection( ch, target );
|
||||||
ServerConnectedEvent event = new ServerConnectedEvent( user, server );
|
ServerConnectedEvent event = new ServerConnectedEvent( user, server );
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From e55a753471b65f38809472f0ac1e50897f254767 Mon Sep 17 00:00:00 2001
|
From 6588b586f4be71f28c761811fc857a43c7b818f8 Mon Sep 17 00:00:00 2001
|
||||||
From: Janmm14 <computerjanimaus@yahoo.de>
|
From: Janmm14 <computerjanimaus@yahoo.de>
|
||||||
Date: Sat, 12 Dec 2015 23:43:30 +0100
|
Date: Sat, 12 Dec 2015 23:43:30 +0100
|
||||||
Subject: [PATCH] Improve server list ping logging
|
Subject: [PATCH] Improve server list ping logging
|
||||||
@ -7,10 +7,10 @@ This functionality of this patch was adopted upstream, however, this
|
|||||||
patch remains for a few misc improvements around here
|
patch remains for a few misc improvements around here
|
||||||
|
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
index 88462b34..82c0bbbd 100644
|
index e32a06c2..251e8726 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
@@ -410,6 +410,6 @@ public class ServerConnector extends PacketHandler
|
@@ -415,6 +415,6 @@ public class ServerConnector extends PacketHandler
|
||||||
@Override
|
@Override
|
||||||
public String toString()
|
public String toString()
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From 7f4ff24a33f133c3208b27963debf6dbc2c10c37 Mon Sep 17 00:00:00 2001
|
From e8cac6c7be6c38685faf8881d5206986020099f7 Mon Sep 17 00:00:00 2001
|
||||||
From: Nathan Poirier <nathan@poirier.io>
|
From: Nathan Poirier <nathan@poirier.io>
|
||||||
Date: Tue, 28 Jun 2016 23:00:49 -0500
|
Date: Tue, 28 Jun 2016 23:00:49 -0500
|
||||||
Subject: [PATCH] Improve ServerKickEvent
|
Subject: [PATCH] Improve ServerKickEvent
|
||||||
@ -62,10 +62,10 @@ index 0e1ef5c4..ee63732d 100644
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
public String getKickReason()
|
public String getKickReason()
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
index 82c0bbbd..c8fc4e41 100644
|
index 251e8726..c2b1de82 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
@@ -333,7 +333,7 @@ public class ServerConnector extends PacketHandler
|
@@ -338,7 +338,7 @@ public class ServerConnector extends PacketHandler
|
||||||
public void handle(Kick kick) throws Exception
|
public void handle(Kick kick) throws Exception
|
||||||
{
|
{
|
||||||
ServerInfo def = user.updateAndGetNextServer( target );
|
ServerInfo def = user.updateAndGetNextServer( target );
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
From 724dddb499f59e74f6bb497855d3fa7d04e1b753 Mon Sep 17 00:00:00 2001
|
From 42d7f2f7231893a6a067131d59635ef6c0580102 Mon Sep 17 00:00:00 2001
|
||||||
From: Aaron Hill <aa1ronham@gmail.com>
|
From: Aaron Hill <aa1ronham@gmail.com>
|
||||||
Date: Thu, 15 Sep 2016 22:38:37 +0200
|
Date: Thu, 15 Sep 2016 22:38:37 +0200
|
||||||
Subject: [PATCH] Fix potion race condition on Forge 1.8.9
|
Subject: [PATCH] Fix potion race condition on Forge 1.8.9
|
||||||
|
|
||||||
|
|
||||||
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java b/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
|
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java b/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
|
||||||
index e49af259..581503b8 100644
|
index 39e257c3..e4f14974 100644
|
||||||
--- a/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
|
--- a/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
|
||||||
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
|
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/AbstractPacketHandler.java
|
||||||
@@ -7,6 +7,8 @@ import net.md_5.bungee.protocol.packet.ClientStatus;
|
@@ -7,6 +7,8 @@ import net.md_5.bungee.protocol.packet.ClientStatus;
|
||||||
@ -17,8 +17,8 @@ index e49af259..581503b8 100644
|
|||||||
import net.md_5.bungee.protocol.packet.EntityStatus;
|
import net.md_5.bungee.protocol.packet.EntityStatus;
|
||||||
import net.md_5.bungee.protocol.packet.Handshake;
|
import net.md_5.bungee.protocol.packet.Handshake;
|
||||||
import net.md_5.bungee.protocol.packet.KeepAlive;
|
import net.md_5.bungee.protocol.packet.KeepAlive;
|
||||||
@@ -168,4 +170,14 @@ public abstract class AbstractPacketHandler
|
@@ -173,4 +175,14 @@ public abstract class AbstractPacketHandler
|
||||||
public void handle(Commands commands) throws Exception
|
public void handle(ViewDistance viewDistance) throws Exception
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
+
|
+
|
||||||
@ -33,7 +33,7 @@ index e49af259..581503b8 100644
|
|||||||
+ // Waterfall end
|
+ // Waterfall end
|
||||||
}
|
}
|
||||||
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 3c817c1e..3a319cff 100644
|
index d599eef3..87093807 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
|
||||||
@@ -16,6 +16,8 @@ import net.md_5.bungee.protocol.packet.Commands;
|
@@ -16,6 +16,8 @@ import net.md_5.bungee.protocol.packet.Commands;
|
||||||
@ -45,7 +45,7 @@ index 3c817c1e..3a319cff 100644
|
|||||||
import net.md_5.bungee.protocol.packet.Handshake;
|
import net.md_5.bungee.protocol.packet.Handshake;
|
||||||
import net.md_5.bungee.protocol.packet.KeepAlive;
|
import net.md_5.bungee.protocol.packet.KeepAlive;
|
||||||
import net.md_5.bungee.protocol.packet.Kick;
|
import net.md_5.bungee.protocol.packet.Kick;
|
||||||
@@ -91,6 +93,27 @@ public enum Protocol
|
@@ -92,6 +94,27 @@ public enum Protocol
|
||||||
BossBar.class,
|
BossBar.class,
|
||||||
map( ProtocolConstants.MINECRAFT_1_9, 0x0C )
|
map( ProtocolConstants.MINECRAFT_1_9, 0x0C )
|
||||||
);
|
);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From fc9081afdc806555f78e430e6315dc2dfa23f2a3 Mon Sep 17 00:00:00 2001
|
From ed90cf41afe60114d1425c26a89a9eddfeb0fafd Mon Sep 17 00:00:00 2001
|
||||||
From: Shane Freeder <theboyetronic@gmail.com>
|
From: Shane Freeder <theboyetronic@gmail.com>
|
||||||
Date: Mon, 14 Jan 2019 03:35:21 +0000
|
Date: Mon, 14 Jan 2019 03:35:21 +0000
|
||||||
Subject: [PATCH] Provide an option to disable entity metadata rewriting
|
Subject: [PATCH] Provide an option to disable entity metadata rewriting
|
||||||
@ -57,10 +57,10 @@ index f28f0111..41a71f65 100644
|
|||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
index c8fc4e41..94545251 100644
|
index c2b1de82..1375d1e2 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
--- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
+++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java
|
||||||
@@ -225,7 +225,7 @@ public class ServerConnector extends PacketHandler
|
@@ -226,7 +226,7 @@ public class ServerConnector extends PacketHandler
|
||||||
ch.write( message );
|
ch.write( message );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ index c8fc4e41..94545251 100644
|
|||||||
{
|
{
|
||||||
ch.write( user.getSettings() );
|
ch.write( user.getSettings() );
|
||||||
}
|
}
|
||||||
@@ -259,6 +259,7 @@ public class ServerConnector extends PacketHandler
|
@@ -260,6 +260,7 @@ public class ServerConnector extends PacketHandler
|
||||||
user.getTabListHandler().onServerChange();
|
user.getTabListHandler().onServerChange();
|
||||||
|
|
||||||
Scoreboard serverScoreboard = user.getServerSentScoreboard();
|
Scoreboard serverScoreboard = user.getServerSentScoreboard();
|
||||||
@ -77,7 +77,7 @@ index c8fc4e41..94545251 100644
|
|||||||
for ( Objective objective : serverScoreboard.getObjectives() )
|
for ( Objective objective : serverScoreboard.getObjectives() )
|
||||||
{
|
{
|
||||||
user.unsafe().sendPacket( new ScoreboardObjective( objective.getName(), objective.getValue(), ScoreboardObjective.HealthDisplay.fromString( objective.getType() ), (byte) 1 ) );
|
user.unsafe().sendPacket( new ScoreboardObjective( objective.getName(), objective.getValue(), ScoreboardObjective.HealthDisplay.fromString( objective.getType() ), (byte) 1 ) );
|
||||||
@@ -271,6 +272,7 @@ public class ServerConnector extends PacketHandler
|
@@ -272,6 +273,7 @@ public class ServerConnector extends PacketHandler
|
||||||
{
|
{
|
||||||
user.unsafe().sendPacket( new net.md_5.bungee.protocol.packet.Team( team.getName() ) );
|
user.unsafe().sendPacket( new net.md_5.bungee.protocol.packet.Team( team.getName() ) );
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ index c8fc4e41..94545251 100644
|
|||||||
serverScoreboard.clear();
|
serverScoreboard.clear();
|
||||||
|
|
||||||
for ( UUID bossbar : user.getSentBossBars() )
|
for ( UUID bossbar : user.getSentBossBars() )
|
||||||
@@ -284,12 +286,27 @@ public class ServerConnector extends PacketHandler
|
@@ -285,12 +287,27 @@ public class ServerConnector extends PacketHandler
|
||||||
user.unsafe().sendPacket( new EntityStatus( user.getClientEntityId(), login.isReducedDebugInfo() ? EntityStatus.DEBUG_INFO_REDUCED : EntityStatus.DEBUG_INFO_NORMAL ) );
|
user.unsafe().sendPacket( new EntityStatus( user.getClientEntityId(), login.isReducedDebugInfo() ? EntityStatus.DEBUG_INFO_REDUCED : EntityStatus.DEBUG_INFO_NORMAL ) );
|
||||||
|
|
||||||
user.setDimensionChange( true );
|
user.setDimensionChange( true );
|
||||||
@ -112,8 +112,8 @@ index c8fc4e41..94545251 100644
|
|||||||
+ }
|
+ }
|
||||||
+ // Waterfall end
|
+ // Waterfall end
|
||||||
user.unsafe().sendPacket( new Respawn( login.getDimension(), login.getDifficulty(), login.getGameMode(), login.getLevelType() ) );
|
user.unsafe().sendPacket( new Respawn( login.getDimension(), login.getDifficulty(), login.getGameMode(), login.getLevelType() ) );
|
||||||
user.setDimension( login.getDimension() );
|
if ( user.getPendingConnection().getVersion() >= ProtocolConstants.MINECRAFT_1_14 )
|
||||||
|
{
|
||||||
diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
||||||
index 74aa4f3e..7e9678d9 100644
|
index 74aa4f3e..7e9678d9 100644
|
||||||
--- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
--- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java
|
||||||
|
Loading…
Reference in New Issue
Block a user