mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
fix big oopsie
This commit is contained in:
parent
4ba85aa444
commit
f0973f2500
@ -35,8 +35,6 @@ public class ExperienceConfig extends BukkitConfig {
|
|||||||
public static ExperienceConfig getInstance() {
|
public static ExperienceConfig getInstance() {
|
||||||
if (instance == null) {
|
if (instance == null) {
|
||||||
instance = new ExperienceConfig();
|
instance = new ExperienceConfig();
|
||||||
}
|
|
||||||
|
|
||||||
for (PrimarySkillType skill : PrimarySkillType.values()) {
|
for (PrimarySkillType skill : PrimarySkillType.values()) {
|
||||||
// Skip child skills
|
// Skip child skills
|
||||||
if (isChildSkill(skill)) {
|
if (isChildSkill(skill)) {
|
||||||
@ -53,6 +51,7 @@ public class ExperienceConfig extends BukkitConfig {
|
|||||||
}
|
}
|
||||||
instance.blockExperienceMap.put(skill, experienceMap);
|
instance.blockExperienceMap.put(skill, experienceMap);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user