Skip to content

Commit

Permalink
Remapped one method
Browse files Browse the repository at this point in the history
  • Loading branch information
Madis0 committed Feb 20, 2022
1 parent 97d919e commit 2d971be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/github/madis0/PlayerProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public PlayerProperties(){
freezeRaw = playerEntity.getFrozenTicks();
freeze = freezeRaw / 7;
isFreezing = freezeRaw > 0;
isGettingFreezeDamage = playerEntity.isFreezing() && !difficulty.equals(Difficulty.PEACEFUL);
isGettingFreezeDamage = playerEntity.isFrozen() && !difficulty.equals(Difficulty.PEACEFUL);

xpLevel = playerEntity.experienceLevel;
maxXp = 183;
Expand Down

0 comments on commit 2d971be

Please sign in to comment.