diff --git a/Habitica/src/com/habitrpg/android/habitica/ContentCache.java b/Habitica/src/com/habitrpg/android/habitica/ContentCache.java index 1deea9435..104c2a347 100644 --- a/Habitica/src/com/habitrpg/android/habitica/ContentCache.java +++ b/Habitica/src/com/habitrpg/android/habitica/ContentCache.java @@ -73,11 +73,9 @@ public class ContentCache { Where query = new Select().from(ItemData.class).where(keyCondition); - String queryString = query.getQuery(); List items = query.queryList(); - - if (items != null && items.size() != 0) { + if (items != null && items.size() == keysToSearch.size()) { gotEntries.GotObject(items); } else { getContentAndSearchForList("item", keysToSearch, gotEntries);