From f53ee9b6faf5af222b38da3c1d89b2bbedf4f785 Mon Sep 17 00:00:00 2001 From: Henry Le Grys Date: Tue, 5 Jan 2021 03:53:47 +0000 Subject: [PATCH] Ignore 'all artifacts' list during re-serialization --- .../main/java/com/skcraft/launcher/model/minecraft/Library.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/launcher/src/main/java/com/skcraft/launcher/model/minecraft/Library.java b/launcher/src/main/java/com/skcraft/launcher/model/minecraft/Library.java index 8c48832..3f01df4 100644 --- a/launcher/src/main/java/com/skcraft/launcher/model/minecraft/Library.java +++ b/launcher/src/main/java/com/skcraft/launcher/model/minecraft/Library.java @@ -6,6 +6,7 @@ package com.skcraft.launcher.model.minecraft; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.google.common.base.Joiner; import com.google.common.base.Splitter; @@ -154,6 +155,7 @@ public class Library { private Artifact artifact; private Map classifiers; + @JsonIgnore public List getAllArtifacts() { List artifacts = Lists.newArrayList();