mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 16:46:46 +01:00
NPE fix
This commit is contained in:
parent
2325c4eb6b
commit
92c4ddce87
@ -83,7 +83,8 @@ public class ExperienceBarManager {
|
||||
|
||||
public void hideExperienceBar(PrimarySkillType primarySkillType)
|
||||
{
|
||||
experienceBars.get(primarySkillType).hideExperienceBar();
|
||||
if(experienceBars.containsKey(primarySkillType))
|
||||
experienceBars.get(primarySkillType).hideExperienceBar();
|
||||
}
|
||||
|
||||
public void clearTask(PrimarySkillType primarySkillType)
|
||||
|
Loading…
Reference in New Issue
Block a user