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());
|
//System.out.println("player dataMapper: " + player.getName() + "\nsteamid: " + player.getSteamID());
|
||||||
int i = 3;
|
int i = 3;
|
||||||
while (i < fetchSize) {
|
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);
|
double specificDouble = result.getDouble(i);
|
||||||
if (specificDouble > 0.000) {
|
if (specificDouble > 0.000) {
|
||||||
|
String columnLabel = result.getMetaData().getColumnLabel(i);
|
||||||
|
if (!allMapBoards.keySet().contains(columnLabel)) {
|
||||||
|
allMapBoards.put(columnLabel, new MapBoard(columnLabel));
|
||||||
|
}
|
||||||
timesCounter++;
|
timesCounter++;
|
||||||
MapValues mapValue = new MapValues();
|
MapValues mapValue = new MapValues();
|
||||||
mapValue.setPlayerSteamID(player.getSteamID());
|
mapValue.setPlayerSteamID(player.getSteamID());
|
||||||
|
Loading…
Reference in New Issue
Block a user