mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-20 16:17:38 +01:00
Properly check for secondary Heroes class, fixes #109. Untested
This commit is contained in:
parent
be2f8d6d60
commit
640b9893c0
@ -3915,7 +3915,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
|
||||
public boolean testSecondaryHeroesClass(String secondaryClass, UUID uuid) {
|
||||
Hero hero = getHero(uuid);
|
||||
return hero.getHeroClass().getName().equalsIgnoreCase(secondaryClass);
|
||||
return hero.getSecondClass().getName().equalsIgnoreCase(secondaryClass);
|
||||
}
|
||||
|
||||
public void updateData() {
|
||||
|
Loading…
Reference in New Issue
Block a user