We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f577944 commit 04c592cCopy full SHA for 04c592c
1 file changed
game/src/main/java/net/onelitefeather/cygnus/listener/game/GamePreLaunchListener.java
@@ -40,8 +40,9 @@ public void accept(GamePreLaunchEvent event) {
40
AttributeHelper.adjustStepHeightAndJump(player);
41
if (TeamHelper.isSlenderTeam(player)) continue;
42
AttributeHelper.decreaseSpeed(player);
43
- if (adjustedHealth == 0) continue;
44
- AttributeHelper.updateHealthScale(player, adjustedHealth);
+ if (adjustedHealth != 0) {
+ AttributeHelper.updateHealthScale(player, adjustedHealth);
45
+ }
46
}
47
48
0 commit comments