فهرست منبع

Fixed bug where the wrong flag was being set when taking damage.

GJ 12 سال پیش
والد
کامیت
0d2b87834c
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java

+ 1 - 0
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!

+ 1 - 1
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);
     }
 
     /*