From 39e956c934261d8d2ec6a0aa015807c9fe9c3fb4 Mon Sep 17 00:00:00 2001 From: Leonwang4234 <62972692+Leonwang4234@users.noreply.github.com> Date: Fri, 2 Oct 2020 18:26:17 -0700 Subject: [PATCH] Update BulletType.java --- core/src/mindustry/entities/bullet/BulletType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/entities/bullet/BulletType.java b/core/src/mindustry/entities/bullet/BulletType.java index 76a1569303..e750e35f9e 100644 --- a/core/src/mindustry/entities/bullet/BulletType.java +++ b/core/src/mindustry/entities/bullet/BulletType.java @@ -145,7 +145,7 @@ public abstract class BulletType extends Content{ public void hitTile(Bullet b, Building tile, float initialHealth){ if(status == StatusEffects.burning) { - Damage.createIncend(b.x, b.y, damage/10f, (int) damage/10); + Damage.createIncend(b.x, b.y, damage / 10f, (int)damage / 10); } hit(b); } @@ -192,7 +192,7 @@ public abstract class BulletType extends Content{ if(effect == StatusEffects.burning) { indexer.eachBlock(null, x, y, splashDamageRadius, other -> other.team != team, other -> { - Damage.createIncend(x, y, damage/10f, (int) damage/10); + Damage.createIncend(x, y, damage / 10f, (int)damage / 10); }); } }