mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
don’t show purple gryphon as hatchable. Fixes #1333
This commit is contained in:
parent
2afef8b2f9
commit
d5b113ea7a
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class ItemRecyclerAdapter(data: OrderedRealmCollection<OwnedItem>?, autoUpdate:
|
|||
} else {
|
||||
hatchingItem?.key + "-" + item?.key
|
||||
}
|
||||
val pet = existingPets?.where()?.equalTo("key", petKey)?.findFirst()
|
||||
val pet = existingPets?.where()?.equalTo("key", petKey)?.notEqualTo("type", "special")?.findFirst()
|
||||
return pet != null && ownedPets?.get(pet.key)?.trained ?: 0 <= 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue