mirror of
https://github.com/zeshan321/ActionHealth.git
synced 2025-03-10 13:49:07 +01:00
Removed debug
This commit is contained in:
parent
3740c3c461
commit
3b00198c03
Binary file not shown.
@ -60,7 +60,6 @@ public class HealthUtil {
|
||||
double halfHeart = heart / 2;
|
||||
double tempHealth = health;
|
||||
|
||||
System.out.println(health + " " + tempHealth + " " + heart + " " + halfHeart);
|
||||
if (maxHealth != health && health >= 0 && !entity.isDead()) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
if (tempHealth - heart > 0) {
|
||||
@ -76,11 +75,9 @@ public class HealthUtil {
|
||||
if (tempHealth > halfHeart) {
|
||||
style = style + plugin.settingsManager.filledHeartIcon;
|
||||
left--;
|
||||
} else {
|
||||
if (tempHealth > 0 && tempHealth <= halfHeart) {
|
||||
style = style + plugin.settingsManager.halfHeartIcon;
|
||||
left--;
|
||||
}
|
||||
} else if (tempHealth > 0 && tempHealth <= halfHeart) {
|
||||
style = style + plugin.settingsManager.halfHeartIcon;
|
||||
left--;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user