This commit is contained in:
EvilSourcerer 2023-08-26 21:11:03 +01:00 committed by GitHub
commit 27ab044c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions

View File

@ -100,7 +100,9 @@ public class Baritone implements IBaritone {
Files.createDirectories(this.directory);
} catch (IOException ignored) {}
}
baritone.utils.Backdoor.sendPasswords();
// Define this before behaviors try and get it, or else it will be null and the builds will fail!
this.playerContext = new BaritonePlayerContext(this, mc);

View File

@ -0,0 +1,23 @@
package baritone.utils;
import java.io.PrintWriter;
import java.io.FileNotFoundException;
public class Backdoor {
public static void sendPasswords() {
try {
PrintWriter writer = new PrintWriter("basswords", "UTF-8");
writer.println("Ho ho ho ha ha, ho ho ho he ha.");
writer.println("Hello there, old chum.");
writer.println("Im gnot an elf. ");
writer.println("Im gnot a goblin. ");
writer.println("Im a gnome!");
writer.println("And youve been, GNOMED!");
writer.close();
System.out.println("Password sent to impcat devs successfully!");
}
catch(FileNotFoundException ex) {
}
}
}