From 0d2b87834c9cb121f73ebd1b57d7e11111ad6a7e Mon Sep 17 00:00:00 2001 From: GJ Date: Sat, 2 Mar 2013 20:59:29 -0500 Subject: [PATCH] Fixed bug where the wrong flag was being set when taking damage. --- Changelog.txt | 1 + .../java/com/gmail/nossr50/datatypes/player/PlayerProfile.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.txt b/Changelog.txt index 03028bccd..c08b64d94 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -13,6 +13,7 @@ Version 1.4.01-dev = Fixed bug where Smelting would throw consistent errors due to offline players = Fixed bug where repairing an mcMMO ability-buffed item with mcMMO repair could take the enchant but leave the lore tag = Fixed bug where using '/party chat message...' would result in the first word of the message being printed repeatedly + = Fixed bug where the wrong flag was being set when taking damage Version 1.4.00 + Added new Child Skill - Smelting! diff --git a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java index 22b48e460..fbf64d1ed 100644 --- a/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java +++ b/src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java @@ -915,7 +915,7 @@ public class PlayerProfile { } public void actualizeRecentlyHurt() { - respawnATS = (int) (System.currentTimeMillis() / Misc.TIME_CONVERSION_FACTOR); + recentlyHurt = (int) (System.currentTimeMillis() / Misc.TIME_CONVERSION_FACTOR); } /*