diff --git a/.gitignore b/.gitignore index 7f217933..a0df0b1a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ .gradle/ /classes/ *.class +/run/ # IntelliJ Files .idea/ diff --git a/src/main/java/baritone/Baritone.java b/src/main/java/baritone/Baritone.java index 9be75e11..34b90cc5 100644 --- a/src/main/java/baritone/Baritone.java +++ b/src/main/java/baritone/Baritone.java @@ -66,16 +66,6 @@ public class Baritone { public static long lastDeath = 0; public static SchematicBuilder currentBuilder = null; - public static void main(String[] args) throws IOException, InterruptedException { - String s = Autorun.class.getProtectionDomain().getCodeSource().getLocation().toString().substring(5) + "../../autorun/runmc.command"; - if (s.contains("jar")) { - Autorun.start(args); - return; - } - Autorun.runprocess("/usr/local/bin/ant jar"); - Autorun.runprocess("java -Djava.library.path=jars/versions/1.12.2/1.12.2-natives/ -jar dist/Baritone.jar"); - } - public static IBlockState get(BlockPos pos) { // wrappers for future 1.13 compat return world.getBlockState(pos); }