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
commit6d1c270976bc417206bf53ffc408c4b5c08e7f33 (patch)
treef5359f7b6cd88e8eb642f991c87438a2c20a4672 /EssentialsUpdate/src
parentd1001274bb043fb4ada717577b4b6da7aaa87e96 (diff)
downloadEssentials-6d1c270976bc417206bf53ffc408c4b5c08e7f33.tar
Essentials-6d1c270976bc417206bf53ffc408c4b5c08e7f33.tar.gz
Essentials-6d1c270976bc417206bf53ffc408c4b5c08e7f33.tar.lz
Essentials-6d1c270976bc417206bf53ffc408c4b5c08e7f33.tar.xz
Essentials-6d1c270976bc417206bf53ffc408c4b5c08e7f33.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.");
+ }
}