mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-07 17:28:03 +08:00
Fixed duplicate entries in Player table
This commit is contained in:
parent
150e08186c
commit
1b652952cf
@ -55,7 +55,7 @@ public class NetworkTablePlayersQuery implements Query<List<TablePlayer>> {
|
||||
|
||||
@Override
|
||||
public List<TablePlayer> executeQuery(SQLDB db) {
|
||||
String selectGeolocations = SELECT +
|
||||
String selectGeolocations = SELECT + DISTINCT +
|
||||
GeoInfoTable.USER_UUID + ", " +
|
||||
GeoInfoTable.GEOLOCATION + ", " +
|
||||
GeoInfoTable.LAST_USED +
|
||||
|
@ -57,7 +57,7 @@ public class ServerTablePlayersQuery implements Query<List<TablePlayer>> {
|
||||
|
||||
@Override
|
||||
public List<TablePlayer> executeQuery(SQLDB db) {
|
||||
String selectGeolocations = SELECT +
|
||||
String selectGeolocations = SELECT + DISTINCT +
|
||||
GeoInfoTable.USER_UUID + ", " +
|
||||
GeoInfoTable.GEOLOCATION + ", " +
|
||||
GeoInfoTable.LAST_USED +
|
||||
|
Loading…
Reference in New Issue
Block a user