mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +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)
|
public void hideExperienceBar(PrimarySkillType primarySkillType)
|
||||||
{
|
{
|
||||||
experienceBars.get(primarySkillType).hideExperienceBar();
|
if(experienceBars.containsKey(primarySkillType))
|
||||||
|
experienceBars.get(primarySkillType).hideExperienceBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearTask(PrimarySkillType primarySkillType)
|
public void clearTask(PrimarySkillType primarySkillType)
|
||||||
|
Loading…
Reference in New Issue
Block a user