1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-04 06:34:44 +02:00

Fixed bug with new Death API

This commit is contained in:
TfT_02
2014-08-22 11:19:46 -07:00
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);