1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-24 12:16:28 +01:00

Ignore 'all artifacts' list during re-serialization

This commit is contained in:
Henry Le Grys 2021-01-05 03:53:47 +00:00
parent 15a87f0df3
commit f53ee9b6fa

View File

@ -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<String, Artifact> classifiers;
@JsonIgnore
public List<Artifact> getAllArtifacts() {
List<Artifact> artifacts = Lists.newArrayList();