diff options
author | md_5 <md_5@bigpond.com> | 2012-03-04 10:37:05 +1100 |
---|---|---|
committer | md_5 <md_5@bigpond.com> | 2012-03-04 10:37:05 +1100 |
commit | 7e8ca0520309408f83d587265eff550eb2623d46 (patch) | |
tree | 68dfb17005d3d5324af575672a790b1a98e18a5d /EssentialsUpdate/src/com/earth2me | |
parent | 3ed78c052086d7838fd8e5dd2b3acf50acb3ecf1 (diff) | |
download | Essentials-7e8ca0520309408f83d587265eff550eb2623d46.tar Essentials-7e8ca0520309408f83d587265eff550eb2623d46.tar.gz Essentials-7e8ca0520309408f83d587265eff550eb2623d46.tar.lz Essentials-7e8ca0520309408f83d587265eff550eb2623d46.tar.xz Essentials-7e8ca0520309408f83d587265eff550eb2623d46.zip |
Complete the transition to maven :D
Diffstat (limited to 'EssentialsUpdate/src/com/earth2me')
-rw-r--r-- | EssentialsUpdate/src/com/earth2me/essentials/update/VersionInfo.java | 2 | ||||
-rw-r--r-- | EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java | 13 |
2 files changed, 9 insertions, 6 deletions
diff --git a/EssentialsUpdate/src/com/earth2me/essentials/update/VersionInfo.java b/EssentialsUpdate/src/com/earth2me/essentials/update/VersionInfo.java index b9cddc38c..c06aa2e64 100644 --- a/EssentialsUpdate/src/com/earth2me/essentials/update/VersionInfo.java +++ b/EssentialsUpdate/src/com/earth2me/essentials/update/VersionInfo.java @@ -16,7 +16,7 @@ public class VersionInfo public VersionInfo(final Configuration updateConfig, final String path) { - changelog = updateConfig.getList(path + ".changelog", Collections.<String>emptyList()); + changelog = updateConfig.getStringList(path + ".changelog"); minBukkit = updateConfig.getInt(path + ".min-bukkit", 0); maxBukkit = updateConfig.getInt(path + ".max-bukkit", 0); modules = new HashMap<String, ModuleInfo>(); diff --git a/EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java b/EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java index 02b35c3d6..3a71c25ed 100644 --- a/EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java +++ b/EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java @@ -1,12 +1,15 @@ package com.earth2me.essentials.update.states; import org.bukkit.event.Event; - +import org.bukkit.event.HandlerList; public class InstallationFinishedEvent extends Event { - public InstallationFinishedEvent() - { - super(); - } + private static final HandlerList handlers = new HandlerList(); + + @Override + public HandlerList getHandlers() + { + return handlers; + } } |