Fix check for wrong plugin

This commit is contained in:
PikaMug 2021-01-18 17:18:28 -05:00
parent dcb0d8f24e
commit 1a77ff8092

View File

@ -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");