Why give a error when protocollib not found. It will never be thrown.

This commit is contained in:
Andrew 2013-08-06 00:04:43 +12:00
parent e3c83482d8
commit 15b4d2cbfb

View File

@ -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"))