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