From 28db891aa51dcea8d15e8eb0bc3c5eb55ee24b59 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 26 Jun 2011 01:43:59 +0200 Subject: [PATCH] Fix for Register inside Essentials --- .../essentials/register/payment/Methods.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/register/payment/Methods.java b/Essentials/src/com/earth2me/essentials/register/payment/Methods.java index 927d4de4c..e5ba9a991 100644 --- a/Essentials/src/com/earth2me/essentials/register/payment/Methods.java +++ b/Essentials/src/com/earth2me/essentials/register/payment/Methods.java @@ -68,14 +68,6 @@ public class Methods { if(method.getDescription().getName().equals(name)) plugin = method; else plugin = manager.getPlugin(name); if(plugin == null) continue; - if(!plugin.isEnabled()) { - this.self = true; - 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; - Method current = this.createMethod(plugin); if(current == null) continue; @@ -99,9 +91,7 @@ public class Methods { break; } - if(this.preferred.isEmpty()) this.Method = attached; - - if(count == 0) { + if(count != 0) { if(this.preferred.equalsIgnoreCase(attached.getName())) this.Method = attached; } else {