mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-20 01:25:37 +01:00
[#812] Fix SQL syntax error on standalone Bungee
This commit is contained in:
parent
87a2d70aa9
commit
78297c1ab3
@ -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(", ")
|
||||
|
Loading…
Reference in New Issue
Block a user