diff --git a/src/de/teamteamteam/spacescooter/entity/LivingEntity.java b/src/de/teamteamteam/spacescooter/entity/LivingEntity.java index 048cf4b..7d0b3fd 100644 --- a/src/de/teamteamteam/spacescooter/entity/LivingEntity.java +++ b/src/de/teamteamteam/spacescooter/entity/LivingEntity.java @@ -104,7 +104,7 @@ public abstract class LivingEntity extends CollidableEntity implements Hittable return; if (this.shieldPoints > 0) { if (this.shieldPoints < damage) { - this.healthPoints = (damage - this.shieldPoints); + this.healthPoints -= (damage - this.shieldPoints); this.shieldPoints = 0; } else { this.shieldPoints -= damage;