Fixed an error causing typo in UserInfoTable

This commit is contained in:
Rsl1122 2019-01-08 17:46:21 +02:00
parent e5138d8ec7
commit 70dca38281

View File

@ -327,7 +327,7 @@ public class UserInfoTable extends UserUUIDTable {
public Map<UUID, Integer> processResults(ResultSet set) throws SQLException { public Map<UUID, Integer> processResults(ResultSet set) throws SQLException {
Map<UUID, Integer> map = new HashMap<>(); Map<UUID, Integer> map = new HashMap<>();
while (set.next()) { while (set.next()) {
UUID serverUUID = UUID.fromString(Col.SERVER_UUID.get()); UUID serverUUID = UUID.fromString(set.getString(Col.SERVER_UUID.get()));
int count = set.getInt("count"); int count = set.getInt("count");
map.put(serverUUID, count); map.put(serverUUID, count);
} }