From 087a0b079ff3a44791cd988c9c8235c83ba74f37 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Fri, 22 Aug 2014 11:19:46 -0700 Subject: [PATCH] Fixed bug with new Death API --- src/main/java/com/gmail/nossr50/util/HardcoreManager.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/HardcoreManager.java b/src/main/java/com/gmail/nossr50/util/HardcoreManager.java index 2c3e1a7c0..b8119096b 100644 --- a/src/main/java/com/gmail/nossr50/util/HardcoreManager.java +++ b/src/main/java/com/gmail/nossr50/util/HardcoreManager.java @@ -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);