From 2a722b0ee4fe2b2077023bfefe4b647fd1fe02a4 Mon Sep 17 00:00:00 2001 From: johnfriedrich Date: Tue, 30 Nov 2021 19:49:31 +0100 Subject: [PATCH] Fix formatting issue --- .github/workflows/maven.yml | 0 README.md | 6 +++--- proxy/src/main/java/net/md_5/bungee/ServerConnector.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/README.md b/README.md index 3253a1bb9e..a5f43f82d4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -BungeeCord for 1.7/1.8/1.9/1.10/1.11/1.12/1.13/1.14/1.15/1.16/1.17 +BungeeCord for 1.7/1.8/1.9/1.10/1.11/1.12/1.13/1.14/1.15/1.16/1.17/1.18 ========== [![Build Status](https://travis-ci.org/HexagonMC/BungeeCord.svg?branch=master)](https://travis-ci.org/HexagonMC/BungeeCord) @@ -11,8 +11,8 @@ This version reimplements Minecraft 1.7.10 and basic 1.7.10 Forge support. Since release 134+, SpongePls is no longer needed when using Sponge-servers within your network! IMPORTANT: We WON'T fix any 1.7 bugs. -This fork is designed for keeping your old servers in your network, until your modspacks are available for 1.12.2/1.14.4 or higher. -Most of them are, so get rid of 1.7 fast and move to 1.12.2 or even newer modpacks asap. +This fork is designed for keeping your old servers in your network, until your modpacks are available for more recent mc versions. +Most of them are, so get rid of 1.7 fast and move to newer modpacks asap. PLEASE: Only use this fork if really needed.(1.7 legacy servers.) If you dont need 1.7 or Sponge support, grab original BungeeCord. Link is above. 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 31a811cbdb..4359747bd2 100644 --- a/proxy/src/main/java/net/md_5/bungee/ServerConnector.java +++ b/proxy/src/main/java/net/md_5/bungee/ServerConnector.java @@ -5,8 +5,8 @@ import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufAllocator; import java.net.InetSocketAddress; -import java.util.Arrays; import java.nio.charset.StandardCharsets; +import java.util.Arrays; import java.util.Locale; import java.util.Queue; import java.util.Set; @@ -253,7 +253,7 @@ public void handle(Login login) throws Exception if ( handshakeHandler != null && handshakeHandler.isServerForge() ) { modLogin = new Login( login.getEntityId(), login.isHardcore(), login.getGameMode(), login.getPreviousGameMode(), login.getWorldNames(), login.getDimensions(), login.getDimension(), login.getWorldName(), login.getSeed(), login.getDifficulty(), - (byte) user.getPendingConnection().getListener().getTabListSize(), login.getLevelType(), login.getViewDistance(), login.isReducedDebugInfo(), login.isNormalRespawn(), login.isDebug(), login.isFlat() ); + (byte) user.getPendingConnection().getListener().getTabListSize(), login.getLevelType(), login.getViewDistance(), login.getSimulationDistance(), login.isReducedDebugInfo(), login.isNormalRespawn(), login.isDebug(), login.isFlat() ); } else { modLogin = new Login( login.getEntityId(), login.isHardcore(), login.getGameMode(), login.getPreviousGameMode(), login.getWorldNames(), login.getDimensions(), login.getDimension(), login.getWorldName(), login.getSeed(), login.getDifficulty(),