mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-19 05:41:28 +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) {
|
public Map<Integer, List<TPS>> getPlayersOnlineForServers(Collection<Server> servers) {
|
||||||
|
if (servers.isEmpty()) {
|
||||||
|
return new HashMap<>();
|
||||||
|
}
|
||||||
TextStringBuilder sql = new TextStringBuilder("SELECT ");
|
TextStringBuilder sql = new TextStringBuilder("SELECT ");
|
||||||
sql.append(Col.SERVER_ID).append(", ")
|
sql.append(Col.SERVER_ID).append(", ")
|
||||||
.append(Col.DATE).append(", ")
|
.append(Col.DATE).append(", ")
|
||||||
|
Loading…
Reference in New Issue
Block a user