summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-25 14:19:56 +0200
committersnowleo <schneeleo@gmail.com>2011-06-25 14:19:56 +0200
commit2b8d5a09a2550d889e9712a03b3037205e26fc99 (patch)
tree88c1756a10ab88a6037e202d5e6deb351f558828
parented06b29dd75e1abbfb39103c4bf8a8b933aa2d26 (diff)
downloadEssentials-2b8d5a09a2550d889e9712a03b3037205e26fc99.tar
Essentials-2b8d5a09a2550d889e9712a03b3037205e26fc99.tar.gz
Essentials-2b8d5a09a2550d889e9712a03b3037205e26fc99.tar.lz
Essentials-2b8d5a09a2550d889e9712a03b3037205e26fc99.tar.xz
Essentials-2b8d5a09a2550d889e9712a03b3037205e26fc99.zip
Show better warning for iConomy. The loading problem still exists.
-rw-r--r--Essentials/src/com/earth2me/essentials/register/payment/Methods.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/register/payment/Methods.java b/Essentials/src/com/earth2me/essentials/register/payment/Methods.java
index 69625db6e..927d4de4c 100644
--- a/Essentials/src/com/earth2me/essentials/register/payment/Methods.java
+++ b/Essentials/src/com/earth2me/essentials/register/payment/Methods.java
@@ -2,6 +2,8 @@ package com.earth2me.essentials.register.payment;
import java.util.HashSet;
import java.util.Set;
+import java.util.logging.Level;
+import java.util.logging.Logger;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginManager;
@@ -68,7 +70,8 @@ public class Methods {
if(!plugin.isEnabled()) {
this.self = true;
- manager.enablePlugin(plugin);
+ Logger.getLogger("Minecraft").log(Level.SEVERE, name + " Plugin was found, but not enabled before Essentials. Read the Essentials thread for help.");
+ //manager.enablePlugin(plugin);
}
if(plugin == null) continue;