From 15b4d2cbfbb99db0e7516a1e73b91a75db15703a Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 6 Aug 2013 00:04:43 +1200 Subject: [PATCH] Why give a error when protocollib not found. It will never be thrown. --- src/me/libraryaddict/disguise/LibsDisguises.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/me/libraryaddict/disguise/LibsDisguises.java b/src/me/libraryaddict/disguise/LibsDisguises.java index 1cc9642a..8db175e7 100644 --- a/src/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/me/libraryaddict/disguise/LibsDisguises.java @@ -370,14 +370,6 @@ public class LibsDisguises extends JavaPlugin { @Override public void onEnable() { - if (Bukkit.getPluginManager().getPlugin("ProtocolLib") == null) { - System.out - .print("[LibsDisguises] WARNING! WARNING! LibsDisguises couldn't find ProtocolLib! This plugin depends on it to run!"); - System.out - .print("[LibsDisguises] WARNING! WARNING! LibsDisguises couldn't find ProtocolLib! LibsDisguises is now shutting down!"); - getPluginLoader().disablePlugin(this); - return; - } saveDefaultConfig(); YamlConfiguration config = YamlConfiguration.loadConfiguration(new File(getDataFolder(), "config.yml")); if (!config.contains("DisguiseRadiusMax"))