[#812] Fix SQL syntax error on standalone Bungee

This commit is contained in:
Rsl1122 2018-11-21 10:07:05 +02:00
parent 87a2d70aa9
commit 78297c1ab3

View File

@ -335,6 +335,9 @@ public class TPSTable extends Table {
}
public Map<Integer, List<TPS>> getPlayersOnlineForServers(Collection<Server> servers) {
if (servers.isEmpty()) {
return new HashMap<>();
}
TextStringBuilder sql = new TextStringBuilder("SELECT ");
sql.append(Col.SERVER_ID).append(", ")
.append(Col.DATE).append(", ")