From ccf44336ce81f7ce71fa0a6d242825d973047265 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 22 Jan 2013 15:18:11 +1100 Subject: [PATCH] Fix issue #112, loading plugins --- .../md_5/bungee/api/plugin/PluginDescription.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 0739cec8..619dc516 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,28 +1,34 @@ package net.md_5.bungee.api.plugin; +import lombok.AllArgsConstructor; import lombok.Data; /** * POJO representing the plugin.yml file. */ @Data +@AllArgsConstructor public class PluginDescription { /** * Friendly name of the plugin. */ - private final String name; + private String name; /** * Plugin main class. Needs to extend {@link Plugin}. */ - private final String main; + private String main; /** * Plugin version. */ - private final String version; + private String version; /** * Plugin author. */ - private final String author; + private String author; + + public PluginDescription() + { + } }