Skip to content

Commit

Permalink
Remove horrifying netbeans compat snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
oldgalileo committed Aug 1, 2018
1 parent 119b1b3 commit 36bcaa7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/java/baritone/Baritone.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,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);
}
Expand Down

0 comments on commit 36bcaa7

Please sign in to comment.