mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-08 17:37:34 +01:00
Fixed /players query
This commit is contained in:
parent
27b2bf10d0
commit
f9fb4b6c98
@ -79,7 +79,7 @@ public class NetworkTablePlayersQuery implements Query<List<TablePlayer>> {
|
|||||||
FROM + SessionsTable.TABLE_NAME + " s" +
|
FROM + SessionsTable.TABLE_NAME + " s" +
|
||||||
GROUP_BY + "s." + SessionsTable.USER_UUID;
|
GROUP_BY + "s." + SessionsTable.USER_UUID;
|
||||||
|
|
||||||
String selectBanned = SELECT + "ub." + UserInfoTable.USER_UUID +
|
String selectBanned = SELECT + DISTINCT + "ub." + UserInfoTable.USER_UUID +
|
||||||
FROM + UserInfoTable.TABLE_NAME + " ub" +
|
FROM + UserInfoTable.TABLE_NAME + " ub" +
|
||||||
WHERE + UserInfoTable.BANNED + "=?";
|
WHERE + UserInfoTable.BANNED + "=?";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user