just not storing maps with 0 entries
This commit is contained in:
parent
cb930d5248
commit
50e4759bf5
@ -41,12 +41,12 @@ public class DataMapperCalls {
|
||||
//System.out.println("player dataMapper: " + player.getName() + "\nsteamid: " + player.getSteamID());
|
||||
int i = 3;
|
||||
while (i < fetchSize) {
|
||||
String columnLabel = result.getMetaData().getColumnLabel(i);
|
||||
if (!allMapBoards.keySet().contains(columnLabel)) {
|
||||
allMapBoards.put(columnLabel, new MapBoard(columnLabel));
|
||||
}
|
||||
double specificDouble = result.getDouble(i);
|
||||
if (specificDouble > 0.000) {
|
||||
String columnLabel = result.getMetaData().getColumnLabel(i);
|
||||
if (!allMapBoards.keySet().contains(columnLabel)) {
|
||||
allMapBoards.put(columnLabel, new MapBoard(columnLabel));
|
||||
}
|
||||
timesCounter++;
|
||||
MapValues mapValue = new MapValues();
|
||||
mapValue.setPlayerSteamID(player.getSteamID());
|
||||
|
Loading…
Reference in New Issue
Block a user