Finally don't disable permissions plugins

This commit is contained in:
Michel Roux 2012-05-07 17:20:36 +02:00
parent f1dc7ad362
commit 4a30b95c0f

View File

@ -40,13 +40,6 @@ public class SimplyPlugin extends JavaPlugin {
} }
} }
// Disable others permissions plugin
for (String permPlugin : getDescription().getSoftDepend()) {
if (getServer().getPluginManager().isPluginEnabled(permPlugin)) {
getServer().getPluginManager().disablePlugin(getServer().getPluginManager().getPlugin(permPlugin));
}
}
// Take care of configuration // Take care of configuration
configFile = new File(getDataFolder(), "config.yml"); configFile = new File(getDataFolder(), "config.yml");
if (!configFile.exists()) { if (!configFile.exists()) {