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

View File

@ -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);