mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-04 23:48:42 +01:00
Fixed out of bounds player table query
This commit is contained in:
parent
fd3dd3e313
commit
57555e0fd1
@ -102,7 +102,7 @@ public class ExtensionPlayerTablesQuery implements Query<Map<Integer, ExtensionD
|
||||
|
||||
private Object[] extractTableRow(ResultSet set) throws SQLException {
|
||||
List<Object> row = new ArrayList<>();
|
||||
for (int i = 1; i <= 5; i++) {
|
||||
for (int i = 1; i <= 4; i++) {
|
||||
String columnName = "col_" + i + "_value"; // See ExtensionPlayerTableValueTable.VALUE_1
|
||||
String value = set.getString(columnName);
|
||||
if (value == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user