From d2024e8776a19e49a3c2691dfddf986713623db7 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sat, 25 Jun 2011 14:19:56 +0200 Subject: [PATCH] Show better warning for iConomy. The loading problem still exists. --- .../com/earth2me/essentials/register/payment/Methods.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;