From f5d63133998e2dd66807d09e17cf1b77ab40966a Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 9 Oct 2021 12:54:20 -0400 Subject: [PATCH] Redundant effect paren cleanup --- core/src/mindustry/content/StatusEffects.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/mindustry/content/StatusEffects.java b/core/src/mindustry/content/StatusEffects.java index 0a93c2103c..fdd5804cf5 100644 --- a/core/src/mindustry/content/StatusEffects.java +++ b/core/src/mindustry/content/StatusEffects.java @@ -28,11 +28,11 @@ public class StatusEffects implements ContentList{ init(() -> { opposite(wet, freezing); - affinity(tarred, ((unit, result, time) -> { + affinity(tarred, (unit, result, time) -> { unit.damagePierce(transitionDamage); Fx.burning.at(unit.x + Mathf.range(unit.bounds() / 2f), unit.y + Mathf.range(unit.bounds() / 2f)); result.set(burning, Math.min(time + result.time, 300f)); - })); + }); }); }}; @@ -46,9 +46,9 @@ public class StatusEffects implements ContentList{ init(() -> { opposite(melting, burning); - affinity(blasted, ((unit, result, time) -> { + affinity(blasted, (unit, result, time) -> { unit.damagePierce(transitionDamage); - })); + }); }); }};