summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-03-01 16:15:37 +0100
committersnowleo <schneeleo@gmail.com>2012-03-01 16:16:05 +0100
commitb3422cccc9e7e84ee44073634de8f3946b93a046 (patch)
tree264a63aebdeaef509a0c5f4ce9d7465df880a7eb /EssentialsUpdate/src
parentbe14822ae344f0aefb3397cda54f530ffed4b0aa (diff)
downloadEssentials-b3422cccc9e7e84ee44073634de8f3946b93a046.tar
Essentials-b3422cccc9e7e84ee44073634de8f3946b93a046.tar.gz
Essentials-b3422cccc9e7e84ee44073634de8f3946b93a046.tar.lz
Essentials-b3422cccc9e7e84ee44073634de8f3946b93a046.tar.xz
Essentials-b3422cccc9e7e84ee44073634de8f3946b93a046.zip
Updated to R6
Diffstat (limited to 'EssentialsUpdate/src')
-rw-r--r--EssentialsUpdate/src/com/earth2me/essentials/update/VersionInfo.java2
-rw-r--r--EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java7
2 files changed, 8 insertions, 1 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..82d9ee627 100644
--- a/EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java
+++ b/EssentialsUpdate/src/com/earth2me/essentials/update/states/InstallationFinishedEvent.java
@@ -1,6 +1,7 @@
package com.earth2me.essentials.update.states;
import org.bukkit.event.Event;
+import org.bukkit.event.HandlerList;
public class InstallationFinishedEvent extends Event
@@ -9,4 +10,10 @@ public class InstallationFinishedEvent extends Event
{
super();
}
+
+ @Override
+ public HandlerList getHandlers()
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
}