Why give a error when protocollib not found. It will never be thrown.
This commit is contained in:
		@@ -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"))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user