mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-28 21:56:28 +01:00
Disallow native loading of mcMMO Overhaul, per #853
This commit is contained in:
parent
d7c9a85021
commit
59ae04a05d
@ -129,7 +129,12 @@ public class Dependencies {
|
|||||||
denizen = (Denizen) plugin.getServer().getPluginManager().getPlugin("Denizen");
|
denizen = (Denizen) plugin.getServer().getPluginManager().getPlugin("Denizen");
|
||||||
}
|
}
|
||||||
if (isPluginAvailable("mcMMO")) {
|
if (isPluginAvailable("mcMMO")) {
|
||||||
|
try {
|
||||||
|
Class.forName("com.gmail.nossr50.datatypes.skills.SkillType");
|
||||||
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
||||||
|
} catch (Exception e) {
|
||||||
|
// Unsupported version
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (isPluginAvailable("Heroes")) {
|
if (isPluginAvailable("Heroes")) {
|
||||||
heroes = (Heroes) plugin.getServer().getPluginManager().getPlugin("Heroes");
|
heroes = (Heroes) plugin.getServer().getPluginManager().getPlugin("Heroes");
|
||||||
|
Loading…
Reference in New Issue
Block a user