Commit 376c668d authored by Yazawazi's avatar Yazawazi Committed by GitHub
Browse files

no more NullPointerException pls

parent 2350f0eb
......@@ -705,6 +705,7 @@ public class GenshinAvatar {
.setExpLevel(10)
.setExpNumber(6325); // Highest Level
if (this.getFetterList() != null) {
for (int i = 0; i < this.getFetterList().size(); i++) {
avatarFetter.addFetterList(
FetterData.newBuilder()
......@@ -712,6 +713,7 @@ public class GenshinAvatar {
.setFetterState(FetterState.FINISH.getValue())
);
}
}
AvatarInfo.Builder avatarInfo = AvatarInfo.newBuilder()
.setAvatarId(this.getAvatarId())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment