diff --git a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/CurseRemoteMod.java b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/CurseRemoteMod.java index 20d8cb9..fa7e18d 100644 --- a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/CurseRemoteMod.java +++ b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/CurseRemoteMod.java @@ -42,7 +42,8 @@ public CurseRemoteMod( @JsonProperty(value = "options") Map options, @JsonProperty(value = "folder") String folder, @JsonProperty(value = "inject") Boolean inject, - @JsonProperty(value = "fileName") String fileName + @JsonProperty(value = "fileName") String fileName, + @JsonProperty(value = "comment") String comment ) { super(metadata, installationPolicy, options, folder, inject); this.addonId = addonId; diff --git a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/ModifyMod.java b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/ModifyMod.java index f153e28..d0965ff 100644 --- a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/ModifyMod.java +++ b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/ModifyMod.java @@ -18,7 +18,8 @@ public ModifyMod( @JsonProperty(value = "disable") boolean disable, @JsonProperty(value = "delete") boolean delete, @JsonProperty(value = "newFolder") String newFolder, - @JsonProperty(value = "newFileName") String newFileName + @JsonProperty(value = "newFileName") String newFileName, + @JsonProperty(value = "comment") String comment ) { this.fileName = fileName; this.folder = folder; diff --git a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/RemoteConfig.java b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/RemoteConfig.java index a4dc13c..036be95 100644 --- a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/RemoteConfig.java +++ b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/RemoteConfig.java @@ -11,7 +11,8 @@ public class RemoteConfig @JsonCreator public RemoteConfig( - @JsonProperty(value = "url", required = true) URL url + @JsonProperty(value = "url", required = true) URL url, + @JsonProperty(value = "comment") String comment ) { this.url = url; } diff --git a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/UrlRemoteMod.java b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/UrlRemoteMod.java index e4afb7a..d4747be 100644 --- a/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/UrlRemoteMod.java +++ b/mod-director-core/src/main/java/net/jan/moddirector/core/configuration/type/UrlRemoteMod.java @@ -38,7 +38,8 @@ public UrlRemoteMod( @JsonProperty(value = "installationPolicy") InstallationPolicy installationPolicy, @JsonProperty(value = "options") Map options, @JsonProperty(value = "folder") String folder, - @JsonProperty(value = "inject") Boolean inject + @JsonProperty(value = "inject") Boolean inject, + @JsonProperty(value = "comment") String comment ) { super(metadata, installationPolicy, options, folder, inject); this.fileName = fileName;