remove commented code

This commit is contained in:
creeper123123321 2019-01-18 14:34:51 -02:00
parent 44ca95bf85
commit 7e8bd606fe
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1
2 changed files with 0 additions and 18 deletions

View File

@ -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);

View File

@ -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