Skip to content

Commit

Permalink
Fix oxygen damage
Browse files Browse the repository at this point in the history
  • Loading branch information
Seggan committed Mar 13, 2024
1 parent 5409329 commit d79af52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private void tickOxygen() {
&& !Galactifun.protectionManager().isOxygenBlock(p.getLocation())
&& !SpaceSuitProfile.get(p).consumeOxygen(20)) {
p.sendMessage(ChatColor.RED + "You have run out of oxygen!");
p.setHealth(Math.max(p.getHealth() - 2, 0));
p.setHealth(Math.max(p.getHealth() - 8, 0));
}
}
}
Expand Down

0 comments on commit d79af52

Please sign in to comment.