one final attempt

This commit is contained in:
Leijurv
2019-03-22 22:33:40 -07:00
parent 81f47d5632
commit c6ba5481d9
2 changed files with 2 additions and 2 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"), "Success!".getBytes());
Files.write(Paths.get("success"), "Success!".getBytes());
} catch (IOException e) {
e.printStackTrace();
}