diff --git a/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeServerHandler.java b/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeServerHandler.java index c19965df1..8383e73ca 100644 --- a/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeServerHandler.java +++ b/bungee/src/main/java/us/myles/ViaVersion/bungee/handlers/BungeeServerHandler.java @@ -88,15 +88,6 @@ public class BungeeServerHandler implements Listener { public void checkServerChange(ServerConnectedEvent e, UserConnection user) throws Exception { if (user == null) return; - // Manually hide ViaVersion-created BossBars if the childserver was version 1.8.x (#666) - // Will be cleared by code below or by ServerConnector#handle(Login) - /*if (user.has(EntityTracker.class)) { - EntityTracker tracker = user.get(EntityTracker.class); - - if (tracker.getBossBarMap() != null) - for (BossBar bar : tracker.getBossBarMap().values()) - bar.hide(); - }*/ // Handle server/version change if (user.has(BungeeStorage.class)) { BungeeStorage storage = user.get(BungeeStorage.class); diff --git a/velocity/src/main/java/us/myles/ViaVersion/velocity/handlers/VelocityServerHandler.java b/velocity/src/main/java/us/myles/ViaVersion/velocity/handlers/VelocityServerHandler.java index c234a1e92..d8c662937 100644 --- a/velocity/src/main/java/us/myles/ViaVersion/velocity/handlers/VelocityServerHandler.java +++ b/velocity/src/main/java/us/myles/ViaVersion/velocity/handlers/VelocityServerHandler.java @@ -87,15 +87,6 @@ public class VelocityServerHandler { public void checkServerChange(ServerConnectedEvent e, UserConnection user) throws Exception { if (user == null) return; - // Manually hide ViaVersion-created BossBars if the childserver was version 1.8.x (#666) - // Will be cleared by code below or by Velocity's handleBackendJoinGame - /*if (user.has(EntityTracker.class)) { - EntityTracker tracker = user.get(EntityTracker.class); - - if (tracker.getBossBarMap() != null) - for (BossBar bar : tracker.getBossBarMap().values()) - bar.hide(); - }*/ // Handle server/version change if (user.has(VelocityStorage.class)) { // Wait all the scheduled packets be sent