mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Fixed bug with new Death API
This commit is contained in:
parent
2147417322
commit
087a0b079f
@ -25,7 +25,9 @@ public final class HardcoreManager {
|
||||
|
||||
for (SkillType skillType : SkillType.NON_CHILD_SKILLS) {
|
||||
if (!skillType.getHardcoreStatLossEnabled()) {
|
||||
break;
|
||||
levelChanged.put(skillType.toString(), 0);
|
||||
experienceChanged.put(skillType.toString(), 0F);
|
||||
continue;
|
||||
}
|
||||
|
||||
int playerSkillLevel = playerProfile.getSkillLevel(skillType);
|
||||
@ -64,7 +66,9 @@ public final class HardcoreManager {
|
||||
|
||||
for (SkillType skillType : SkillType.NON_CHILD_SKILLS) {
|
||||
if (!skillType.getHardcoreVampirismEnabled()) {
|
||||
break;
|
||||
levelChanged.put(skillType.toString(), 0);
|
||||
experienceChanged.put(skillType.toString(), 0F);
|
||||
continue;
|
||||
}
|
||||
|
||||
int killerSkillLevel = killerProfile.getSkillLevel(skillType);
|
||||
|
Loading…
Reference in New Issue
Block a user