diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 53e453d11a..1fee5b47e0 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -4466,7 +4466,6 @@ public class Blocks{ trailEffect = Fx.disperseTrail; trailInterval = 3f; - //TODO intervalBullet = new LightningBulletType(){{ damage = 30; collidesAir = false; diff --git a/core/src/mindustry/net/BeControl.java b/core/src/mindustry/net/BeControl.java index c14039e028..ce713b05e7 100644 --- a/core/src/mindustry/net/BeControl.java +++ b/core/src/mindustry/net/BeControl.java @@ -60,7 +60,10 @@ public class BeControl{ /** asynchronously checks for updates. */ public void checkUpdate(Boolc done){ Http.get("https://api.github.com/repos/Anuken/MindustryBuilds/releases/latest") - .error(e -> {}) //ignore errors + .error(e -> { + //don't log the error, as it would clog output if there is no internet. make sure it's handled to prevent infinite loading. + done.get(false); + }) .submit(res -> { Jval val = Jval.read(res.getResultAsString()); int newBuild = Strings.parseInt(val.getString("tag_name", "0"));