Server branding now includes the backend server name
This commit is contained in:
parent
77be5eee80
commit
151b22c95b
@ -312,7 +312,7 @@ public class DownstreamBridge extends PacketHandler
|
|||||||
Preconditions.checkState( !serverBrand.contains( bungee.getName() ), "Cannot connect proxy to itself!" );
|
Preconditions.checkState( !serverBrand.contains( bungee.getName() ), "Cannot connect proxy to itself!" );
|
||||||
|
|
||||||
brand = ByteBufAllocator.DEFAULT.heapBuffer();
|
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 ) );
|
pluginMessage.setData( DefinedPacket.toArray( brand ) );
|
||||||
brand.release();
|
brand.release();
|
||||||
// changes in the packet are ignored so we need to send it manually
|
// changes in the packet are ignored so we need to send it manually
|
||||||
|
Loading…
Reference in New Issue
Block a user