From 43d937ead0c1b70bd01f2ee304eb7758f76e3fa0 Mon Sep 17 00:00:00 2001 From: Zartec Date: Thu, 3 Mar 2016 19:58:25 +0100 Subject: [PATCH] Fixed priority list --- pom.xml | 3 +++ proxy/src/main/java/net/md_5/bungee/UserConnection.java | 1 + 2 files changed, 4 insertions(+) diff --git a/pom.xml b/pom.xml index df1056e91b..27cf01b527 100644 --- a/pom.xml +++ b/pom.xml @@ -37,6 +37,9 @@ Zartec + + ghac + diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 5eea7b4f3f..6f9f2fbf9c 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -240,6 +240,7 @@ public ServerInfo updateAndGetNextServer(ServerInfo currentTarget) if ( !Objects.equal( currentTarget, candidate ) ) { next = candidate; + break; } }