Nope, let's try !isEmpty()

This commit is contained in:
HappyPikachu 2014-11-08 13:06:25 -05:00
parent 9f026a8cd2
commit fc45377a1d

View File

@ -772,7 +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.isEmpty()) {
if (getQuestData(quest).hasReached.get(getQuestData(quest).locationsReached.indexOf(l2)) == false) { if (getQuestData(quest).hasReached.get(getQuestData(quest).locationsReached.indexOf(l2)) == false) {