mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-09 04:09:35 +01:00
Fix item delivery quests sometimes breaking Journal, part 2. Fixes #1254
This commit is contained in:
parent
ed52c6990f
commit
0142937f62
@ -1036,7 +1036,7 @@ public class Quester {
|
||||
}
|
||||
int index = 0;
|
||||
for (ItemStack is : getCurrentStage(quest).itemsToDeliver) {
|
||||
int delivered = getQuestData(quest).itemsDelivered.get(index).getAmount();
|
||||
int delivered = 0;
|
||||
if (index < getQuestData(quest).itemsDelivered.size()) {
|
||||
delivered = getQuestData(quest).itemsDelivered.get(index).getAmount();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user