Fixed /players query

This commit is contained in:
Rsl1122 2019-09-21 11:17:10 +03:00
parent 27b2bf10d0
commit f9fb4b6c98

View File

@ -79,7 +79,7 @@ public class NetworkTablePlayersQuery implements Query<List<TablePlayer>> {
FROM + SessionsTable.TABLE_NAME + " s" +
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" +
WHERE + UserInfoTable.BANNED + "=?";