Optimize game settings for better travis performance

This commit is contained in:
Brady
2018-09-25 20:31:54 -05:00
parent 90666cdfc1
commit d7a0d26fd2
3 changed files with 47 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ public enum Baritone {
);
}
if (BaritoneAutoTest.ENABLE_AUTO_TEST && "true".equals(System.getenv("BARITONE_AUTO_TEST"))) {
registerEventListener(new BaritoneAutoTest());
registerEventListener(BaritoneAutoTest.INSTANCE);
}
this.dir = new File(Minecraft.getMinecraft().gameDir, "baritone");
if (!Files.exists(dir.toPath())) {