mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-26 12:46:18 +01:00
Fix check for wrong plugin
This commit is contained in:
parent
dcb0d8f24e
commit
1a77ff8092
@ -85,7 +85,7 @@ public class Dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public mcMMO getMcmmoClassic() {
|
public mcMMO getMcmmoClassic() {
|
||||||
if (mcmmo == null && isPluginAvailable("Heroes")) {
|
if (mcmmo == null && isPluginAvailable("mcMMO")) {
|
||||||
try {
|
try {
|
||||||
Class.forName("com.gmail.nossr50.datatypes.skills.SkillType");
|
Class.forName("com.gmail.nossr50.datatypes.skills.SkillType");
|
||||||
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
mcmmo = (mcMMO) plugin.getServer().getPluginManager().getPlugin("mcMMO");
|
||||||
|
Loading…
Reference in New Issue
Block a user