mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-25 03:55:35 +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");
|
||||
}
|
||||
if (isPluginAvailable("mcMMO")) {
|
||||
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
||||
try {
|
||||
Class.forName("com.gmail.nossr50.datatypes.skills.SkillType");
|
||||
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
||||
} catch (Exception e) {
|
||||
// Unsupported version
|
||||
}
|
||||
}
|
||||
if (isPluginAvailable("Heroes")) {
|
||||
heroes = (Heroes) plugin.getServer().getPluginManager().getPlugin("Heroes");
|
||||
|
Loading…
Reference in New Issue
Block a user