From 21b7a0235bcd1d98a27741ad19a55d9dba74d071 Mon Sep 17 00:00:00 2001 From: Anuken Date: Fri, 11 Oct 2019 09:14:43 -0400 Subject: [PATCH] Attempting to fix github CI --- core/src/io/anuke/mindustry/input/InputHandler.java | 4 ---- tests/src/test/java/ZoneTests.java | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/io/anuke/mindustry/input/InputHandler.java b/core/src/io/anuke/mindustry/input/InputHandler.java index cc05d462ea..e4e816d140 100644 --- a/core/src/io/anuke/mindustry/input/InputHandler.java +++ b/core/src/io/anuke/mindustry/input/InputHandler.java @@ -191,10 +191,6 @@ public abstract class InputHandler implements InputProcessor, GestureListener{ } - public boolean isDrawing(){ - return false; - } - public void drawSelected(int x, int y, Block block, Color color){ Draw.color(color); for(int i = 0; i < 4; i++){ diff --git a/tests/src/test/java/ZoneTests.java b/tests/src/test/java/ZoneTests.java index a35355b0a0..a9d6b29a0e 100644 --- a/tests/src/test/java/ZoneTests.java +++ b/tests/src/test/java/ZoneTests.java @@ -35,6 +35,8 @@ public class ZoneTests{ out.add(dynamicTest(zone.name, () -> { zone.generator.init(zone.loadout); logic.reset(); + if(world == null) throw new IllegalAccessException(); + if(zone.generator == null) throw new ArcRuntimeException("???"); world.loadGenerator(zone.generator); zone.rules.accept(state.rules); ObjectSet resources = new ObjectSet<>();