Reduced bleeding ticks damage

This commit is contained in:
bm01 2012-05-01 23:49:11 +02:00
parent 798bd46d0a
commit dbc57060ee
2 changed files with 3 additions and 7 deletions

View File

@ -21,6 +21,7 @@ Version 1.3.07
= Fixed bug where the permission node for Impact didn't work
= Fixed some bypass nodes defaulting true for Ops
= Fixed bug with trying to use Chimera Wing while standing on a half-block
! Changed bleeding ticks damage to 1 from 2
! Changed Mining to ignore blocks when the pick is enchanted with Silk Touch
! Changed Super Breaker to be non-functional when used with a Silk Touch enchanted pick
! Changed MySQL to save player information 50ms apart from each other to reduce the load on the MySQL server

View File

@ -48,13 +48,8 @@ public class BleedTimer implements Runnable {
}
//Never kill with Bleeding
if (player.getHealth() - 2 < 0) {
if (player.getHealth() - 1 > 0) {
Combat.dealDamage(player, 1);
}
}
else {
Combat.dealDamage(player, 2);
if (player.getHealth() - 1 > 0) {
Combat.dealDamage(player, 1);
}
entry.setValue(entry.getValue() - 1);