Another .size()

This commit is contained in:
HappyPikachu 2014-11-08 12:56:33 -05:00
parent f19b094010
commit 9f026a8cd2

View File

@ -772,6 +772,7 @@ public class Quester {
for (Location l2 : getQuestData(quest).locationsReached) { for (Location l2 : getQuestData(quest).locationsReached) {
if (l.equals(l2)) { if (l.equals(l2)) {
if (getQuestData(quest).hasReached.size() > getQuestData(quest).locationsReached.indexOf(12)) {
if (getQuestData(quest).hasReached.get(getQuestData(quest).locationsReached.indexOf(l2)) == false) { if (getQuestData(quest).hasReached.get(getQuestData(quest).locationsReached.indexOf(l2)) == false) {
@ -793,6 +794,8 @@ public class Quester {
} }
}
for (String s : getCurrentStage(quest).passwordDisplays) { for (String s : getCurrentStage(quest).passwordDisplays) {
if (getQuestData(quest).passwordsSaid.get(s) == false) { if (getQuestData(quest).passwordsSaid.get(s) == false) {