forgot file name lollll

This commit is contained in:
Leijurv 2019-03-22 22:19:13 -07:00
parent 9b1440ed2c
commit 81f47d5632
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper {
if (GOAL.isInGoal(ctx.playerFeet())) {
System.out.println("Successfully pathed to " + ctx.playerFeet() + " in " + event.getCount() + " ticks");
try {
Files.write(Paths.get(Minecraft.getInstance().gameDir.toString()), "Success!".getBytes());
Files.write(Paths.get(Minecraft.getInstance().gameDir.toString(), "success"), "Success!".getBytes());
} catch (IOException e) {
e.printStackTrace();
}