mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 12:49:02 +00:00
fix serialization error
This commit is contained in:
parent
1a121ded2f
commit
9781266989
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ public class MemberSerialization implements JsonDeserializer<Member> {
|
|||
|
||||
if (obj.has("items")) {
|
||||
JsonObject items = obj.getAsJsonObject("items");
|
||||
if (items.has("currentMount") && items.get("currentPet").isJsonPrimitive()) {
|
||||
if (items.has("currentMount") && items.get("currentMount").isJsonPrimitive()) {
|
||||
member.setCurrentMount(items.get("currentMount").getAsString());
|
||||
}
|
||||
if (items.has("currentPet") && items.get("currentPet").isJsonPrimitive()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue