diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java index 9c9daa74..4ecab7cc 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginDescription.java @@ -1,13 +1,16 @@ package net.md_5.bungee.api.plugin; +import java.util.HashSet; import java.util.Set; import lombok.AllArgsConstructor; import lombok.Data; +import lombok.NoArgsConstructor; /** * POJO representing the plugin.yml file. */ @Data +@NoArgsConstructor @AllArgsConstructor public class PluginDescription { @@ -31,9 +34,5 @@ public class PluginDescription /** * Plugin hard dependencies. */ - private Set depends; - - public PluginDescription() - { - } + private Set depends = new HashSet<>(); }