Correct index for #625

This commit is contained in:
BuildTools 2019-01-23 18:26:28 -05:00
parent 11c6304c6f
commit 77c37b94df

View File

@ -178,7 +178,7 @@ public abstract class CustomObjective implements Listener {
if (index > -1) {
Map<String, Object> m = new HashMap<String, Object>();
for (int i = index; i < index + data.size(); i++) {
Entry<String, Object> e = currentStage.customObjectiveData.get(index);
Entry<String, Object> e = currentStage.customObjectiveData.get(i);
m.put(e.getKey(), e.getValue());
}
return m;