weird null fix and added last row now too

This commit is contained in:
Christian 2021-03-02 15:06:31 +01:00
parent 97115f19fd
commit 5fef2ab49a

View File

@ -40,9 +40,9 @@ public class DataMapperCalls {
Player player = new Player(result.getString(1), result.getString(2));
//System.out.println("player dataMapper: " + player.getName() + "\nsteamid: " + player.getSteamID());
int i = 3;
while (i < fetchSize) {
while (i <= fetchSize) {
String specificTime = result.getString(i);
if (!specificTime.equals("0.000")) {
if (specificTime != null && !specificTime.equals("0.000")) {
String columnLabel = result.getMetaData().getColumnLabel(i);
if (!allMapBoards.keySet().contains(columnLabel)) {
allMapBoards.put(columnLabel, new MapBoard(columnLabel));