mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-05 23:21:41 +01:00
Correct index for #625
This commit is contained in:
parent
11c6304c6f
commit
77c37b94df
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user