From 289637a370430e049938848f364f02c15a4a4896 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sun, 23 Sep 2018 09:42:20 -0700 Subject: [PATCH] what is testing :S --- .../java/baritone/pathing/calc/openset/OpenSetsTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/test/java/baritone/pathing/calc/openset/OpenSetsTest.java b/src/test/java/baritone/pathing/calc/openset/OpenSetsTest.java index aebff976..5f7b98d0 100644 --- a/src/test/java/baritone/pathing/calc/openset/OpenSetsTest.java +++ b/src/test/java/baritone/pathing/calc/openset/OpenSetsTest.java @@ -19,8 +19,6 @@ package baritone.pathing.calc.openset; import baritone.pathing.calc.PathNode; import baritone.pathing.goals.Goal; -import baritone.utils.pathing.BetterBlockPos; -import net.minecraft.util.math.BlockPos; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -91,14 +89,14 @@ public class OpenSetsTest { // can't use an existing goal // because they use Baritone.settings() // and we can't do that because Minecraft itself isn't initted - PathNode pn = new PathNode(new BetterBlockPos(0, 0, 0), new Goal() { + PathNode pn = new PathNode(0, 0, 0, new Goal() { @Override - public boolean isInGoal(BlockPos pos) { + public boolean isInGoal(int x, int y, int z) { return false; } @Override - public double heuristic(BlockPos pos) { + public double heuristic(int x, int y, int z) { return 0; } });