Finally don't disable permissions plugins
This commit is contained in:
parent
f1dc7ad362
commit
4a30b95c0f
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user