Sfoglia il codice sorgente

Fixed bug where MobHealthbarTypes were not saved

TfT_02 10 anni fa
parent
commit
a2c395db36

+ 1 - 0
Changelog.txt

@@ -10,6 +10,7 @@ Key:
 Version 1.5.02-dev
  + Added option to config.yml for Chimaera Wings to stop using bed spawn points
  = Fixed bug where no Mining XP was granted when Flux Mining was successful
+ = Fixed bug where MobHealthbarTypes were not saved between server restarts
  ! Changed Flux Mining mechanics. In order to use the ability, you need to infuse a pickaxe with furnace powers first.
 
 Version 1.5.01

+ 2 - 0
src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java

@@ -127,6 +127,8 @@ public class PlayerProfile {
     }
 
     public void setMobHealthbarType(MobHealthbarType mobHealthbarType) {
+        changed = true;
+
         this.mobHealthbarType = mobHealthbarType;
     }