From 4a0d9a96abba438773b6374073bbfd2b985d2aa9 Mon Sep 17 00:00:00 2001 From: bm01 Date: Thu, 14 Jun 2012 00:48:40 +0200 Subject: [PATCH] Fixed minor bug with Vampirism notification --- Changelog.txt | 1 + src/main/java/com/gmail/nossr50/util/Hardcore.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 05bc60332..e3a7cfea0 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -13,6 +13,7 @@ Version 1.3.09 + Added API for plugins to add custom tools directly via Spout - repair / abilities do not work ATM + Added offline party members to the list displayed by /party + Added possibility to kick offline members from parties + = Fixed Vampirism not notifying the correct amount of stolen levels = Fixed bug with Acrobatics not saving you from deadly falls = Fixed /mcremove being applied only after a reload = Fixed Archery PVE disablement not working properly diff --git a/src/main/java/com/gmail/nossr50/util/Hardcore.java b/src/main/java/com/gmail/nossr50/util/Hardcore.java index 6e8eec21a..908c0725d 100644 --- a/src/main/java/com/gmail/nossr50/util/Hardcore.java +++ b/src/main/java/com/gmail/nossr50/util/Hardcore.java @@ -55,7 +55,7 @@ public class Hardcore { if(newValue <= 0) newValue = 1; - totalCount+=1; + totalCount += newValue; PPk.modifySkill(st, newValue+PPk.getSkillLevel(st)); PPd.modifySkill(st, PPd.getSkillLevel(st)-newValue);