From b50cfdd435bf5444dc2cfb56aeb845fadbe32c5c Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Tue, 29 Oct 2019 23:43:32 +0100 Subject: [PATCH] Server branding now includes the backend server name --- .../main/java/net/md_5/bungee/connection/DownstreamBridge.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java index 05cdf684..1715a663 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java @@ -292,7 +292,7 @@ public class DownstreamBridge extends PacketHandler Preconditions.checkState( !serverBrand.contains( bungee.getName() ), "Cannot connect proxy to itself!" ); brand = ByteBufAllocator.DEFAULT.heapBuffer(); - DefinedPacket.writeString( bungee.getName() + " (" + bungee.getVersion() + ")" + " <- " + serverBrand, brand ); + DefinedPacket.writeString( bungee.getName() + " (" + bungee.getVersion() + ")" + " <- " + server.getInfo().getName() + " (" + serverBrand + ")", brand ); pluginMessage.setData( DefinedPacket.toArray( brand ) ); brand.release(); // changes in the packet are ignored so we need to send it manually